ehristoforu commited on
Commit
cf9611a
1 Parent(s): 69b489e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -54,7 +54,7 @@ additional_inputs=[
54
  ),
55
  gr.Slider(
56
  label="Max new tokens",
57
- value=512,
58
  minimum=0,
59
  maximum=1048,
60
  step=64,
@@ -92,7 +92,8 @@ css = """
92
  with gr.Blocks(css=css) as demo:
93
  gr.HTML("<h1><center>Mixtral 70B<h1><center>")
94
  gr.ChatInterface(
95
- generate,
 
96
  additional_inputs=additional_inputs
97
  )
98
 
 
54
  ),
55
  gr.Slider(
56
  label="Max new tokens",
57
+ value=256,
58
  minimum=0,
59
  maximum=1048,
60
  step=64,
 
92
  with gr.Blocks(css=css) as demo:
93
  gr.HTML("<h1><center>Mixtral 70B<h1><center>")
94
  gr.ChatInterface(
95
+ fn=generate,
96
+ chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel")
97
  additional_inputs=additional_inputs
98
  )
99