Spaces:
mashroo
/
Running on Zero

YoussefAnso commited on
Commit
83d7ca7
·
1 Parent(s): 2964afb

Remove unnecessary launch parameters from app.py for simplicity and update README.md to reflect the new Gradio SDK version 4.21.0.

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -8
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 📊
4
  colorFrom: gray
5
  colorTo: red
6
  sdk: gradio
7
- sdk_version: 4.19.2
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: gray
5
  colorTo: red
6
  sdk: gradio
7
+ sdk_version: 4.21.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -331,11 +331,4 @@ with gr.Blocks(title="CRM: Single Image to 3D") as demo:
331
  )
332
 
333
  if __name__ == "__main__":
334
- # Launch with settings optimized for Hugging Face Spaces
335
- demo.queue().launch(
336
- server_name="0.0.0.0",
337
- server_port=7860,
338
- share=False, # Not needed on HF Spaces
339
- show_api=False, # Disable API schema generation to avoid the error
340
- enable_queue=True # Enable queue for better request handling
341
- )
 
331
  )
332
 
333
  if __name__ == "__main__":
334
+ demo.queue().launch()