Huiwenshi commited on
Commit
7435987
·
verified ·
1 Parent(s): 4d2a189

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. hg_app.py +2 -2
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: purple
5
  colorTo: red
6
  sdk: gradio
7
  sdk_version: 4.44.1
8
- app_file: hg_app_bak.py
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 False:
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=10)
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)