vericudebuget commited on
Commit
8b0501e
·
verified ·
1 Parent(s): 52b1a3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -45,15 +45,15 @@ additional_inputs = [
45
  gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
46
  ]
47
 
48
- gr.ChatInterface(
49
- fn=generate,
50
- chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel",),
51
- additional_inputs=additional_inputs,
52
- title="ConvoLite",
53
- submit_btn="➢",
54
- retry_btn="Retry",
55
- undo_btn="↩ Undo",
56
- clear_btn="Clear (New chat)",
57
- stop_btn="Stop ▢",
58
- concurrency_limit=20,
59
- ).launch(show_api=False)
 
45
  gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
46
  ]
47
 
48
+ gr.ChatInterface(
49
+ fn=generate,
50
+ chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel", fill_height="True", autofocus="True"),
51
+ additional_inputs=additional_inputs,
52
+ title="ConvoLite",
53
+ submit_btn="➢",
54
+ retry_btn="Retry",
55
+ undo_btn="↩ Undo",
56
+ clear_btn="Clear (New chat)",
57
+ stop_btn="Stop ▢",
58
+ concurrency_limit=20,
59
+ ).launch(show_api=False)