Closed tomerkulla closed 5 days ago
Hi @tomerkulla I'm not able to reproduce this when I test on main
:
import gradio as gr
_, url, _ = gr.ChatInterface(lambda x,y: x).launch(inline=False, show_error=True)
from gradio_client import Client, file
gradioClient = Client(url)
result2 = gradioClient.predict(
{"text":"sample text","files":[file("cheetah.jpg")]},
api_name="/chat"
)
gradio
version in the HF Space? You can indeed do it by going to the README.md and updating the sdk_version
to 4.36.1
I'm going to close this for now, but can reopen if still an issue.
Describe the bug
Hello I trying to request my private HF space gradio via python gardio_client and I'm getting error that my MultimodalTextbox is str while it's defently dict
this is the init on the HF space side:
this is how I call it on python script side:
the error I get on the script side:
on the HF logs side I get something similar:
Have you searched existing issues? 🔎
Reproduction
mentioned above
Screenshot
No response
Logs
No response
System Info
Severity
Blocking usage of gradio