Goodnight7 commited on
Commit
7f13e98
1 Parent(s): ff8af74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -41,10 +41,13 @@ def respond(
41
 
42
  demo = gr.ChatInterface(
43
  respond,
 
 
 
44
  additional_inputs=[
45
- gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
46
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
47
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
48
  gr.Slider(
49
  minimum=0.1,
50
  maximum=1.0,
 
41
 
42
  demo = gr.ChatInterface(
43
  respond,
44
+ theme= "soft",
45
+ exemples= [["write a poem about football."], "Give me a funny joke."],
46
+ title= "text generation"
47
  additional_inputs=[
48
+ gr.Textbox(value="You are a funny QA Chatbot.", label="System message"),
49
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
50
+ gr.Slider(minimum=0.1, maximum=2.0, value=0.6, step=0.1, label="Temperature"),
51
  gr.Slider(
52
  minimum=0.1,
53
  maximum=1.0,