Aguilar Elizondo commited on
Commit
7480003
·
1 Parent(s): 4894872

Use default launch() for HF Spaces compatibility

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -205,8 +205,4 @@ with gr.Blocks(title="Architecture AI Enhancer", theme=gr.themes.Soft()) as demo
205
  # Launch configuration
206
  if __name__ == "__main__":
207
  demo.queue(max_size=10) # Enable queue for multiple users
208
- demo.launch(
209
- server_name="0.0.0.0",
210
- server_port=7860,
211
- share=False # HF Spaces handles sharing automatically
212
- )
 
205
  # Launch configuration
206
  if __name__ == "__main__":
207
  demo.queue(max_size=10) # Enable queue for multiple users
208
+ demo.launch() # HF Spaces auto-configures host and port