SkyNetWalker commited on
Commit
19bd564
·
verified ·
1 Parent(s): 1f94115

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,6 @@ with gr.Blocks() as demo:
88
  # Use the existing ChatInterface
89
  gr.ChatInterface(
90
  respond,
91
- chatbot=chatbot,
92
  additional_inputs=[
93
  gr.Textbox(value="", label="Additional System Prompt:"),
94
  gr.Slider(minimum=1, maximum=4096, value=1024, step=1, label="Max new tokens:"),
@@ -97,6 +96,7 @@ with gr.Blocks() as demo:
97
  model_dropdown, # Pass the dropdown as an additional input
98
  ],
99
  fill_height=True,
 
100
  )
101
 
102
  print("Gradio interface initialized.")
 
88
  # Use the existing ChatInterface
89
  gr.ChatInterface(
90
  respond,
 
91
  additional_inputs=[
92
  gr.Textbox(value="", label="Additional System Prompt:"),
93
  gr.Slider(minimum=1, maximum=4096, value=1024, step=1, label="Max new tokens:"),
 
96
  model_dropdown, # Pass the dropdown as an additional input
97
  ],
98
  fill_height=True,
99
+ chatbot=chatbot,
100
  )
101
 
102
  print("Gradio interface initialized.")