Spaces:
Runtime error
Runtime error
vericudebuget
commited on
Commit
•
40ddaa4
1
Parent(s):
c7f2091
Update app.py
Browse files
app.py
CHANGED
@@ -49,13 +49,14 @@ additional_inputs = [
|
|
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 |
-
chat_interface = 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 |
-
)
|
60 |
demo.add(chat_interface)
|
61 |
demo.launch(show_api=False)
|
|
|
49 |
# Path to your custom CSS file
|
50 |
css_path = "theme.css"
|
51 |
|
52 |
+
chat_interface = gr.ChatInterface(
|
53 |
+
fn=generate,
|
54 |
+
chatbot=gr.Chatbot(show_label=True, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
55 |
+
additional_inputs=additional_inputs,
|
56 |
+
title="ConvoLite",
|
57 |
+
concurrency_limit=20,
|
58 |
+
)
|
59 |
+
|
60 |
with gr.Blocks(css=f"file={css_path}", theme=gr.themes.Soft()) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
demo.add(chat_interface)
|
62 |
demo.launch(show_api=False)
|