Goodnight7 commited on
Commit
aa870fa
1 Parent(s): eb7108a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -41,9 +41,6 @@ def respond(
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"),
@@ -56,6 +53,9 @@ demo = gr.ChatInterface(
56
  label="Top-p (nucleus sampling)",
57
  ),
58
  ],
 
 
 
59
  )
60
 
61
 
 
41
 
42
  demo = gr.ChatInterface(
43
  respond,
 
 
 
44
  additional_inputs=[
45
  gr.Textbox(value="You are a funny QA Chatbot.", label="System message"),
46
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
53
  label="Top-p (nucleus sampling)",
54
  ),
55
  ],
56
+ theme= "soft",
57
+ exemples= [["write a poem about football."], ["Give me a funny joke."]],
58
+ title= "text generation"
59
  )
60
 
61