honey90 commited on
Commit
ace2592
ยท
verified ยท
1 Parent(s): 2e57a3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def url_shortener(url):
15
  # Gradio ์ธํ„ฐํŽ˜์ด์Šค ์„ค์ •
16
  iface = gr.Interface(
17
  fn=url_shortener, # ์‚ฌ์šฉํ•  ํ•จ์ˆ˜
18
- inputs="text", # ์ž…๋ ฅ์€ ํ…์ŠคํŠธ
19
  outputs=gr.Textbox(label="Shortened URL", copyable=True), # ์ถœ๋ ฅ์€ ํ…์ŠคํŠธ ๋ฐ•์Šค๋กœ ๋ณต์‚ฌ ๊ฐ€๋Šฅ
20
  title="URL Shortener" # ์ธํ„ฐํŽ˜์ด์Šค ์ œ๋ชฉ
21
  )
 
15
  # Gradio ์ธํ„ฐํŽ˜์ด์Šค ์„ค์ •
16
  iface = gr.Interface(
17
  fn=url_shortener, # ์‚ฌ์šฉํ•  ํ•จ์ˆ˜
18
+ inputs=gr.Textbox(label="Enter URL"), # ์ž…๋ ฅ์€ ํ…์ŠคํŠธ ๋ฐ•์Šค
19
  outputs=gr.Textbox(label="Shortened URL", copyable=True), # ์ถœ๋ ฅ์€ ํ…์ŠคํŠธ ๋ฐ•์Šค๋กœ ๋ณต์‚ฌ ๊ฐ€๋Šฅ
20
  title="URL Shortener" # ์ธํ„ฐํŽ˜์ด์Šค ์ œ๋ชฉ
21
  )