Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ colorFrom: purple
|
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.44.1
|
8 |
-
app_file:
|
9 |
pinned: false
|
10 |
short_description: Text-to-3D and Image-to-3D Generation
|
11 |
---
|
|
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.44.1
|
8 |
+
app_file: hg_app.py
|
9 |
pinned: false
|
10 |
short_description: Text-to-3D and Image-to-3D Generation
|
11 |
---
|
hg_app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# pip install gradio==4.44.1
|
2 |
-
if
|
3 |
import os
|
4 |
import spaces
|
5 |
import subprocess
|
@@ -431,6 +431,6 @@ if __name__ == '__main__':
|
|
431 |
app.mount("/static", StaticFiles(directory=static_dir), name="static")
|
432 |
|
433 |
demo = build_app()
|
434 |
-
demo.queue(max_size=
|
435 |
app = gr.mount_gradio_app(app, demo, path="/")
|
436 |
uvicorn.run(app, host=IP, port=PORT)
|
|
|
1 |
# pip install gradio==4.44.1
|
2 |
+
if True:
|
3 |
import os
|
4 |
import spaces
|
5 |
import subprocess
|
|
|
431 |
app.mount("/static", StaticFiles(directory=static_dir), name="static")
|
432 |
|
433 |
demo = build_app()
|
434 |
+
demo.queue(max_size=1)
|
435 |
app = gr.mount_gradio_app(app, demo, path="/")
|
436 |
uvicorn.run(app, host=IP, port=PORT)
|