ι™ˆε›θ‡³ commited on
Commit
4f31d00
β€’
1 Parent(s): c54eb17

change gradio launch to meet hf space

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -238,4 +238,5 @@ with gr.Blocks() as demo:
238
  # }
239
  # """,
240
  # )
241
- demo.queue().launch(server_name='0.0.0.0', share=True, inbrowser=False, server_port=7001)
 
 
238
  # }
239
  # """,
240
  # )
241
+ if __name__ == "__main__":
242
+ demo.queue().launch()