vericudebuget commited on
Commit
f2230fe
1 Parent(s): 7cfaf27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -46,11 +46,14 @@ 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
+ # Path to your custom CSS file
50
+ css_path = "theme.css"
51
+
52
+ with gr.Blocks(css=f"file={css_path}", theme=gr.themes.Soft()) as demo:
53
  gr.ChatInterface(
54
  fn=generate,
55
  chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
56
  additional_inputs=additional_inputs,
57
  title="ConvoLite",
58
  concurrency_limit=20,
59
+ ).launch(show_api=False)