seawolf2357 commited on
Commit
53703b0
ยท
verified ยท
1 Parent(s): dd21ec7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ def start_timer(url, interval):
20
 
21
  # Gradio UI ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.
22
  url_input = gr.Text(label="URL", placeholder="์ ‘์†ํ•  URL์„ ์ž…๋ ฅํ•˜์„ธ์š”")
23
- interval_input = gr.Slider(minimum=1, maximum=60, step=1, value=1, label="์ ‘์† ์ฃผ๊ธฐ(๋ถ„)")
24
 
25
  # ํƒ€์ด๋จธ ์‹œ์ž‘ ํ•จ์ˆ˜๋ฅผ Gradio์˜ ์ž…๋ ฅ๊ณผ ํ•จ๊ป˜ ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค.
26
  def setup_timer(url, interval):
@@ -35,6 +35,6 @@ app = gr.Interface(
35
  outputs="text",
36
  title="URL ์ ‘์† ์ฒด์ปค",
37
  description="URL๊ณผ ์ ‘์† ์ฃผ๊ธฐ๋ฅผ ์ž…๋ ฅํ•˜๊ณ  '์‹œ์ž‘' ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์„ธ์š”. ์ง€์ •๋œ ์ฃผ๊ธฐ๋กœ HTTP ์ƒํƒœ ์ฝ”๋“œ ๋ฐ ์ ‘์† ์ƒํƒœ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.",
38
- examples=[["https://seawolf2357-FastGPT.hf.space", 1]]
39
  )
40
  app.launch(share=True)
 
20
 
21
  # Gradio UI ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.
22
  url_input = gr.Text(label="URL", placeholder="์ ‘์†ํ•  URL์„ ์ž…๋ ฅํ•˜์„ธ์š”")
23
+ interval_input = gr.Slider(minimum=1, maximum=60, step=1, value=5, label="์ ‘์† ์ฃผ๊ธฐ(๋ถ„)")
24
 
25
  # ํƒ€์ด๋จธ ์‹œ์ž‘ ํ•จ์ˆ˜๋ฅผ Gradio์˜ ์ž…๋ ฅ๊ณผ ํ•จ๊ป˜ ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค.
26
  def setup_timer(url, interval):
 
35
  outputs="text",
36
  title="URL ์ ‘์† ์ฒด์ปค",
37
  description="URL๊ณผ ์ ‘์† ์ฃผ๊ธฐ๋ฅผ ์ž…๋ ฅํ•˜๊ณ  '์‹œ์ž‘' ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์„ธ์š”. ์ง€์ •๋œ ์ฃผ๊ธฐ๋กœ HTTP ์ƒํƒœ ์ฝ”๋“œ ๋ฐ ์ ‘์† ์ƒํƒœ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.",
38
+ examples=[["https://seawolf2357-FastGPT.hf.space", 5]]
39
  )
40
  app.launch(share=True)