Aguilar Elizondo commited on
Commit
7363d69
·
1 Parent(s): f01627e

Use minimal launch() as per HF docs

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -101,10 +101,4 @@ iface = gr.Interface(
101
  )
102
 
103
  if __name__ == "__main__":
104
- # HF Spaces requires explicit server configuration
105
- iface.queue().launch(
106
- server_name="0.0.0.0",
107
- server_port=int(os.getenv("PORT", 7860)),
108
- share=False,
109
- show_error=True
110
- )
 
101
  )
102
 
103
  if __name__ == "__main__":
104
+ iface.launch()