burman-ai commited on
Commit
96900bb
·
verified ·
1 Parent(s): 82a3573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def respond(
80
 
81
  # GRADIO UI
82
 
83
- chatbot = gr.Chatbot(height=600, show_copy_button=True, placeholder="Select a model and begin chatting", likeable=True, layout="panel")
84
  print("Chatbot interface created.")
85
 
86
  system_message_box = gr.Textbox(value="", placeholder="You are a helpful assistant.", label="System Prompt")
@@ -141,6 +141,12 @@ demo = gr.ChatInterface(
141
  fn=respond,
142
  additional_inputs=[
143
  system_message_box,
 
 
 
 
 
 
144
 
145
 
146
  ],
 
80
 
81
  # GRADIO UI
82
 
83
+ chatbot = gr.Chatbot(height=600, width=600, show_copy_button=True, placeholder="", likeable=True, layout="panel")
84
  print("Chatbot interface created.")
85
 
86
  system_message_box = gr.Textbox(value="", placeholder="You are a helpful assistant.", label="System Prompt")
 
141
  fn=respond,
142
  additional_inputs=[
143
  system_message_box,
144
+ max_tokens_slider,
145
+ temperature_slider,
146
+ top_p_slider,
147
+ frequency_penalty_slider,
148
+ seed_slider,
149
+
150
 
151
 
152
  ],