abubasith86 commited on
Commit
930ab70
·
verified ·
1 Parent(s): 2444f20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -184,19 +184,19 @@ def respond(
184
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
185
  """
186
  demo = gr.ChatInterface(
187
- respond,
188
- additional_inputs=[
189
- gr.Textbox(value="You are a friendly Chatbot.", label="System message")
190
- # gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
191
- # gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
192
- # gr.Slider(
193
- # minimum=0.1,
194
- # maximum=1.0,
195
- # value=0.95,
196
- # step=0.05,
197
- # label="Top-p (nucleus sampling)",
198
- # ),
199
- ],
200
  )
201
 
202
 
 
184
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
185
  """
186
  demo = gr.ChatInterface(
187
+ respond
188
+ # additional_inputs=[
189
+ # gr.Textbox(value="You are a friendly Chatbot.", label="System message")
190
+ # gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
191
+ # gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
192
+ # gr.Slider(
193
+ # minimum=0.1,
194
+ # maximum=1.0,
195
+ # value=0.95,
196
+ # step=0.05,
197
+ # label="Top-p (nucleus sampling)",
198
+ # ),
199
+ # ],
200
  )
201
 
202