Spaces:
Runtime error
Runtime error
fangxia
commited on
Commit
•
a750521
1
Parent(s):
41d7bd9
fix bug
Browse files- app.py +2 -2
- requirements.txt +0 -1
app.py
CHANGED
@@ -63,8 +63,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
63 |
)
|
64 |
|
65 |
|
66 |
-
demo.queue(api_open=False
|
67 |
server_name="0.0.0.0" if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
|
68 |
share=False,
|
69 |
root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
|
70 |
-
)
|
|
|
63 |
)
|
64 |
|
65 |
|
66 |
+
demo.queue(api_open=False).launch(
|
67 |
server_name="0.0.0.0" if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
|
68 |
share=False,
|
69 |
root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
|
70 |
+
)
|
requirements.txt
CHANGED
@@ -1,3 +1,2 @@
|
|
1 |
oss2
|
2 |
diffusers==0.21.4
|
3 |
-
gradio==3.47.1
|
|
|
1 |
oss2
|
2 |
diffusers==0.21.4
|
|