Skip to content
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

latest update breaks .launch() #43

Closed
ehutt opened this issue Aug 11, 2020 · 2 comments
Closed

latest update breaks .launch() #43

ehutt opened this issue Aug 11, 2020 · 2 comments

Comments

@ehutt
Copy link

ehutt commented Aug 11, 2020

I just upgraded from gradio 1.0.7 to 1.1.0 and now I can't launch my demo which was working before.

When I call:

gr.Interface(fn=ask, inputs=["textbox", "text"], outputs="text").launch()

I get the following error:

  
File "/Users/elhutton/opt/anaconda3/envs/agent-assist/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3343, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  
File "<ipython-input-27-5dcf77e302d7>", line 1, in <module>
    gr.Interface(fn=ask, inputs=["textbox", "text"], outputs="text").launch()
  
File "/Users/elhutton/opt/anaconda3/envs/agent-assist/lib/python3.7/site-packages/gradio/interface.py", line 265, in launch
    server_port=self.server_port)

ValueError: too many values to unpack (expected 2)

I am running on MacOS Catalina 10.15.6, working in a conda virtual env with python 3.7.7. I upgraded via pip install gradio --upgrade

Please help! Thanks

@abidlabs
Copy link
Member

abidlabs commented Aug 11, 2020 via email

@abidlabs
Copy link
Member

Fixed in latest version, 1.1.4 (it took 4 tries lol). Thanks again for bringing it to our attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants