KaiShin1885 commited on
Commit
4558cc5
Β·
verified Β·
1 Parent(s): 8575d79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -38,16 +38,15 @@ def respond(
38
  demo = gr.Interface(
39
  fn=respond,
40
  inputs=[
41
- gr.Textbox(label="Message"),
42
- gr.State(),
43
- gr.Textbox(label="System Message"),
44
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max New Tokens"),
45
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
46
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (Nucleus Sampling)"),
47
  ],
48
  outputs="text",
49
- title="Chatbot",
50
- description="This is a chatbot powered by Hugging Face's CosmosRP-8k model.",
51
  )
52
 
53
  if __name__ == "__main__":
 
38
  demo = gr.Interface(
39
  fn=respond,
40
  inputs=[
41
+ gr.Textbox(label="λ©”μ‹œμ§€"),
42
+ gr.Textbox(label="μ‹œμŠ€ν…œ λ©”μ‹œμ§€"),
43
+ gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="μ΅œλŒ€ μƒˆλ‘œμš΄ 토큰"),
44
+ gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="μ˜¨λ„"),
 
45
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (Nucleus Sampling)"),
46
  ],
47
  outputs="text",
48
+ title="μ±„νŒ…λ΄‡",
49
+ description="이 μ±„νŒ…λ΄‡μ€ Hugging Face의 CosmosRP-8k λͺ¨λΈμ— μ˜ν•΄ κ΅¬λ™λ©λ‹ˆλ‹€.",
50
  )
51
 
52
  if __name__ == "__main__":