Closed Lowlowlowlowlowlow closed 1 year ago
Usually, if you don't need to open public links, localhost is enough. If you want, you can refer to the issue of the gradio repository.
I first downgraded gradio to version 3.9
pip install gradio==3.9
and then In web_demo.py
, I changed line 65 from:
with gr.Blocks(theme=gr.themes.Base(), css=CSS) as demo:
to:
with gr.Blocks(css=CSS) as demo:
And it works!
When I followed the prompt to add ‘share=True’ in web_demo.py, I still received no response.