seawolf2357 commited on
Commit
82b5fd4
ยท
verified ยท
1 Parent(s): 5d649f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ def check_connection(url):
17
  return "Connection failed"
18
 
19
  # ๊ทธ๋ผ๋””์˜ค UI ์ •์˜
20
- url_input = gr.inputs.Textbox(label="URL", placeholder="Enter the URL to check")
21
- output_text = gr.outputs.Textbox(label="Connection Status")
22
 
23
  # ๊ทธ๋ผ๋””์˜ค ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์‹คํ–‰
24
  title = "URL Connection Checker"
 
17
  return "Connection failed"
18
 
19
  # ๊ทธ๋ผ๋””์˜ค UI ์ •์˜
20
+ url_input = gr.Interface.TextInput(label="URL", placeholder="Enter the URL to check")
21
+ output_text = gr.Interface.Textbox(label="Connection Status")
22
 
23
  # ๊ทธ๋ผ๋””์˜ค ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์‹คํ–‰
24
  title = "URL Connection Checker"