New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Private space with python client API returning 404 #6388
Comments
And your token has proper permissions to access the |
@freddyaboulton @abidlabs I'm having a similar issue with this public (https://huggingface.co/spaces/cimsai/Compliance?logs=container) Space that calls a private space. When I click the "Upload Contract" (which is running in the private space), it throws the error. Versions are both 4.3.0 `Traceback (most recent call last):
404Sorry, we can’t find the page you are looking for. The above exception was the direct cause of the following exception: Traceback (most recent call last): |
I've attempted to use both read and write permissions, but it's still not working. |
Describe the bug
I have created a sample private gradio space, and called it with HF token, but got an error in response, meanwhile works fine if the change space visibility to public.
Need help to resolve this issue. Thanks in advance.
Error
ValueError: Unexpected message:
Have you searched existing issues? 🔎
Reproduction
import gradio as gr
def process_input(text, number):
| # You can perform any processing or computation here
| # For simplicity, this example just combines the inputs into a dictionary
| result = {'input_text': text, 'input_number': number}
| return result
|
| iface = gr.Interface(
| fn=process_input,
| inputs=["text", "number"],
| outputs="json"
| )
|
| iface.launch()
Screenshot
No response
Logs
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: