vericudebuget commited on
Commit
955926a
·
verified ·
1 Parent(s): 3327c8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -49,12 +49,13 @@ additional_inputs = [
49
  gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
50
  ]
51
 
52
- gr.themes.Soft(): # Apply the Soft theme
53
- gr.ChatInterface(
54
- fn=generate,
55
- chatbot=gr.Chatbot(show_label=True, show_share_button=True, show_copy_button=True, likeable=True, layout="panel"),
56
- additional_inputs=additional_inputs,
57
- title="ConvoLite",
58
- description="Remember! The AI might give incorrect information about people, locations, history, etc...",
59
- concurrency_limit=20,
60
- ).launch(show_api=False,)
 
 
49
  gr.Slider(label="Repetition penalty", value=1.2, minimum=1.0, maximum=2.0, step=0.05, interactive=True, info="Penalize repeated tokens")
50
  ]
51
 
52
+ gr.Interface.theme = gr.themes.Soft # Apply the Soft theme
53
+
54
+ gr.ChatInterface(
55
+ fn=generate,
56
+ chatbot=gr.Chatbot(show_label=True, show_share_button=True, show_copy_button=True, likeable=True, layout="panel"),
57
+ additional_inputs=additional_inputs,
58
+ title="ConvoLite",
59
+ description="Remember! The AI might give incorrect information about people, locations, history, etc...",
60
+ concurrency_limit=20,
61
+ ).launch(show_api=False,)