Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ejschwartz
/
torch-gpu-demo
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
ejschwartz
commited on
Nov 1, 2024
Commit
9e585ee
·
1 Parent(s):
563eec9
launch
Browse files
Files changed (1)
hide
show
main.py
+2
-1
main.py
CHANGED
Viewed
@@ -80,4 +80,5 @@ iface = gr.Interface(
80
)
81
82
if __name__ == "__main__":
83
-
iface.
launch
()
80
)
81
82
if __name__ == "__main__":
83
+
iface.
queue
()
84
+
iface.launch(server_name="0.0.0.0", server_port=7860)