C0untFloyd / roop-unleashed

Evolved Fork of roop with Web Server and lots of additions
GNU Affero General Public License v3.0
2.17k stars 504 forks source link

Gradio Update Error #562

Closed poepoeng closed 6 months ago

poepoeng commented 6 months ago

Describe the bug I think gradio make update again, i run python on 3.10 and 3.9 has same error. Try to reinstall typer didnt help.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'python run.py'
  2. See error

Traceback (most recent call last): File "/notebooks/roop-unleashed/run.py", line 3, in <module> from roop import core File "/notebooks/roop-unleashed/roop/core.py", line 22, in <module> import roop.utilities as util File "/notebooks/roop-unleashed/roop/utilities.py", line 11, in <module> import gradio File "/usr/local/lib/python3.10/dist-packages/gradio/__init__.py", line 10, in <module> from gradio.cli import deploy File "/usr/local/lib/python3.10/dist-packages/gradio/cli/__init__.py", line 1, in <module> from .cli import cli, deploy File "/usr/local/lib/python3.10/dist-packages/gradio/cli/cli.py", line 4, in <module> from gradio_client.cli import deploy_discord # type: ignore File "/usr/local/lib/python3.10/dist-packages/gradio_client/cli/__init__.py", line 1, in <module> from gradio_client.cli import deploy_discord File "/usr/local/lib/python3.10/dist-packages/gradio_client/cli/deploy_discord.py", line 3, in <module> from typer import Option ImportError: cannot import name 'Option' from 'typer' (unknown location)

Details What OS are you using?

Are you using a GPU?

Which version of roop unleashed are you using? 3.6.5

Screenshots If applicable, add screenshots to help explain your problem.

Thank you

C0untFloyd commented 6 months ago

564

poepoeng commented 6 months ago

im trying to downgrade typer to 0.11 and its work. thanks