Spaces:
Running
Running
Update app_local.py
Browse files- app_local.py +1 -1
app_local.py
CHANGED
|
@@ -696,7 +696,7 @@ if __name__ == "__main__":
|
|
| 696 |
print("Launching Gradio interface...")
|
| 697 |
if os.getenv("SPACE_ID"):
|
| 698 |
# Chạy trong Hugging Face Spaces
|
| 699 |
-
demo.queue(
|
| 700 |
else:
|
| 701 |
# Chạy local
|
| 702 |
demo.launch(share=True, server_name="0.0.0.0")
|
|
|
|
| 696 |
print("Launching Gradio interface...")
|
| 697 |
if os.getenv("SPACE_ID"):
|
| 698 |
# Chạy trong Hugging Face Spaces
|
| 699 |
+
demo.queue().launch()
|
| 700 |
else:
|
| 701 |
# Chạy local
|
| 702 |
demo.launch(share=True, server_name="0.0.0.0")
|