ginipick commited on
Commit
4aefd34
Β·
verified Β·
1 Parent(s): 8c96dfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -67,18 +67,18 @@ demo = gr.Interface(
67
  gr.Textbox(lines=2, placeholder="λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”..."),
68
  gr.State(value=[]),
69
  gr.Textbox(lines=2, placeholder="μ‹œμŠ€ν…œ λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”..."),
70
- gr.Slider(minimum=1, maximum=128000, value=10000, step=1, label="Max new tokens"),
71
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
72
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
73
  ],
74
  outputs=[
75
  gr.Textbox(label="응닡"),
76
- gr.Audio(label="μŒμ„± 파일", type="file")
77
  ],
78
  examples=[
79
  ["λ°˜λ“œμ‹œ ν•œκΈ€λ‘œ λ‹΅λ³€ν•˜λΌ"],
80
  ["μ•„μ΄μŠ¬λž€λ“œμ˜ μˆ˜λ„λŠ” 어디지?"],
81
- ["ν₯미둜운 주제λ₯Ό μ•Œλ €μ€˜"],
82
  ["계속 μ΄μ–΄μ„œ λ‹΅λ³€ν•˜λΌ"],
83
  ],
84
  cache_examples=False # 캐싱 λΉ„ν™œμ„±ν™” μ„€μ •
 
67
  gr.Textbox(lines=2, placeholder="λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”..."),
68
  gr.State(value=[]),
69
  gr.Textbox(lines=2, placeholder="μ‹œμŠ€ν…œ λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”..."),
70
+ gr.Slider(minimum=1, maximum=128000, value=100, step=1, label="Max new tokens"),
71
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
72
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
73
  ],
74
  outputs=[
75
  gr.Textbox(label="응닡"),
76
+ gr.Audio(label="μŒμ„± 파일", type="filepath")
77
  ],
78
  examples=[
79
  ["λ°˜λ“œμ‹œ ν•œκΈ€λ‘œ λ‹΅λ³€ν•˜λΌ"],
80
  ["μ•„μ΄μŠ¬λž€λ“œμ˜ μˆ˜λ„λŠ” 어디지?"],
81
+ ["λ„ˆλŠ” λˆ„κ°€ λ§Œλ“€μ—ˆμ§€?"],
82
  ["계속 μ΄μ–΄μ„œ λ‹΅λ³€ν•˜λΌ"],
83
  ],
84
  cache_examples=False # 캐싱 λΉ„ν™œμ„±ν™” μ„€μ •