seawolf2357 commited on
Commit
f49559c
·
verified ·
1 Parent(s): c3be810

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,4 +21,4 @@ title = "URL Connection Checker"
21
  description = "Enter a URL and click 'Check Connection' to see the HTTP status code and connection status."
22
  examples = [["https://seawolf2357-fastgpt.hf.space/"]]
23
  timer_input = gr.inputs.Slider(minimum=1, maximum=60, default=5, label="Check Interval (minutes)")
24
- gr.Interface(check_connection, inputs=url_input, outputs=output_text, title=title, description=description, examples=examples, server_name="0.0.0.0", server_port=7860).launch(inline=False, inbrowser=True, share=True)
 
21
  description = "Enter a URL and click 'Check Connection' to see the HTTP status code and connection status."
22
  examples = [["https://seawolf2357-fastgpt.hf.space/"]]
23
  timer_input = gr.inputs.Slider(minimum=1, maximum=60, default=5, label="Check Interval (minutes)")
24
+ gr.Interface(fn=check_connection, inputs=url_input, outputs=output_text, title=title, description=description, examples=examples).launch(inline=False, inbrowser=True, share=True)