Spaces:
Running
Running
"403 Client Error" when using the "HuggingFaceH4/falcon-chat" via Gradio client
#14
by
devmao
- opened
Hi, is it possible?
My simple Jupyther notebook:
client = Client.duplicate("HuggingFaceH4/falcon-chat", hf_token=HF_TOKEN)
result = client.predict("Howdy!", fn_index=0)
Output:
HfHubHTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/api/spaces/HuggingFaceH4/falcon-chat/duplicate (Request ID: Root=1-648eb1c4-3ce7c0552f3bdfe903459837)
Authorization error.
Hi @devmao !
I was not able to reproduce that exact error.
I am able to duplicate correctly but I get KeyError: 'data'
when running predict
. I think the problem is that this space uses two secret variables that need to be set:
https://huggingface.co/spaces/HuggingFaceH4/falcon-chat/blob/main/app.py#L16