narin45 commited on
Commit
87fde9d
·
verified ·
1 Parent(s): 67dae6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -39,7 +39,7 @@ def respond(
39
  demo = gr.ChatInterface(
40
  respond,
41
  additional_inputs=[
42
- gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
43
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
44
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
45
  gr.Slider(
@@ -50,11 +50,11 @@ demo = gr.ChatInterface(
50
  label="Top-p (nucleus sampling)",
51
  ),
52
  ],
53
- title="Simple Chatbot with DeepSeek",
54
- description="A basic chatbot using DeepSeek-Math-7B-Instruct model.",
55
  examples=[
56
- ["Hello, how can I help you?", [], "You are a friendly Chatbot.", 512, 0.7, 0.95],
57
- ["Tell me about the history of computers.", [], "You are a friendly Chatbot.", 512, 0.7, 0.95],
58
  ],
59
  )
60
 
 
39
  demo = gr.ChatInterface(
40
  respond,
41
  additional_inputs=[
42
+ gr.Textbox(value="You are a friendly chatbot. Respond directly to the user's message in Persian without explaining your thought process or adding any extra comments.", label="System message"),
43
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
44
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
45
  gr.Slider(
 
50
  label="Top-p (nucleus sampling)",
51
  ),
52
  ],
53
+ title="Simple Chatbot",
54
+ description="A basic chatbot using zephyr-7b-beta model.",
55
  examples=[
56
+ ["ماشین", [], "You are a friendly chatbot. Respond directly to the user's message in Persian without explaining your thought process or adding any extra comments.", 512, 0.7, 0.95],
57
+ ["سلام، درباره تاریخ ایران بگو", [], "You are a friendly chatbot. Respond directly to the user's message in Persian without explaining your thought process or adding any extra comments.", 512, 0.7, 0.95],
58
  ],
59
  )
60