Runtime error when Deploying this model into Spaces

#4
by hfsriks8 - opened

Runtime error
Traceback (most recent call last):
File "/home/user/app/app.py", line 3, in
gr.Interface.load("models/microsoft/kosmos-2-patch14-224").launch()
AttributeError: 'Dependency' object has no attribute 'launch'

This keeps happening to me, too πŸ˜‘

Hi, this doesn't look like a model issue but gradio. I never use gr.Interface.load("models/microsoft/kosmos-2-patch14-224").launch(), but there is a Space

https://huggingface.co/spaces/ydshieh/Kosmos-2/blob/main/app.py

written in another way.

Or, you can report the issue on Gradio github.

Sign up or log in to comment