Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
simpx
/
chatdemo
like
5
Sleeping
App
Files
Files
Community
simpx
commited on
Mar 15, 2023
Commit
c6e6de5
•
1 Parent(s):
f21b908
add
Browse files
Files changed (1)
hide
show
app.py
+3
-0
app.py
CHANGED
Viewed
@@ -79,3 +79,6 @@ with gr.Blocks() as demo:
79
80
if __name__ == "__main__":
81
demo.launch()
79
80
if __name__ == "__main__":
81
demo.launch()
82
+
else:
83
+
# run with "gradio app.py"
84
+
demo.launch(server_name="0.0.0.0")