vericudebuget commited on
Commit
b3fde27
·
verified ·
1 Parent(s): b0a938e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -46,11 +46,13 @@ additional_inputs = [
46
  gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
47
  ]
48
 
 
 
 
 
 
 
 
 
49
  with gr.themes.Soft():
50
- gr.ChatInterface(
51
- fn=generate,
52
- chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
53
- additional_inputs=additional_inputs,
54
- title="ConvoLite",
55
- concurrency_limit=20,
56
- ).launch(show_api=False)
 
46
  gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
47
  ]
48
 
49
+ app = gr.ChatInterface(
50
+ fn=generate,
51
+ chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
52
+ additional_inputs=additional_inputs,
53
+ title="ConvoLite",
54
+ concurrency_limit=20,
55
+ )
56
+
57
  with gr.themes.Soft():
58
+ app.launch(show_api=False)