jpjp9292 commited on
Commit
088c8d3
ยท
verified ยท
1 Parent(s): cd7654d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -54,16 +54,13 @@ demo = gr.Interface(
54
  label="์—…์Šค์ผ€์ผ ๋ ˆ๋ฒจ (Upscale Level)",
55
  choices=[2, 4, 6, 8],
56
  value=2,
57
- type="number"
58
  )
59
  ],
60
  outputs=gr.File(label="์—…์Šค์ผ€์ผ๋œ ์ด๋ฏธ์ง€ ๋‹ค์šด๋กœ๋“œ (Download Upscaled Image)"),
61
  title="Image Upscaler",
62
  description=DESCRIPTION,
63
- allow_flagging="never",
64
- examples=[
65
- ["example.jpg", 2] # examples ํด๋”์— example.jpg ํŒŒ์ผ์„ ์ถ”๊ฐ€ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค
66
- ]
67
  )
68
 
69
  # ์ธํ„ฐํŽ˜์ด์Šค ์‹คํ–‰
 
54
  label="์—…์Šค์ผ€์ผ ๋ ˆ๋ฒจ (Upscale Level)",
55
  choices=[2, 4, 6, 8],
56
  value=2,
57
+ type="value" # 'number' ์—์„œ 'value'๋กœ ๋ณ€๊ฒฝ
58
  )
59
  ],
60
  outputs=gr.File(label="์—…์Šค์ผ€์ผ๋œ ์ด๋ฏธ์ง€ ๋‹ค์šด๋กœ๋“œ (Download Upscaled Image)"),
61
  title="Image Upscaler",
62
  description=DESCRIPTION,
63
+ allow_flagging="never"
 
 
 
64
  )
65
 
66
  # ์ธํ„ฐํŽ˜์ด์Šค ์‹คํ–‰