Nymbo commited on
Commit
6221a34
·
verified ·
1 Parent(s): 8ef7370

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -43,11 +43,15 @@ def respond(
43
  response += token
44
  yield response
45
 
46
- theme="Nymbo/Nymbo_Theme"
 
 
47
 
48
  demo = gr.ChatInterface(
49
  respond,
50
  theme=theme,
 
 
51
  additional_inputs=[
52
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
53
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
43
  response += token
44
  yield response
45
 
46
+ theme="Nymbo/Alyx_Theme"
47
+
48
+ chatbot = gr.Chatbot(height=600)
49
 
50
  demo = gr.ChatInterface(
51
  respond,
52
  theme=theme,
53
+ fill_height=True,
54
+ chatbot=chatbot,
55
  additional_inputs=[
56
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
57
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),