Spaces:
Runtime error
Runtime error
vericudebuget
commited on
Commit
•
c7f2091
1
Parent(s):
f2230fe
Update app.py
Browse files
app.py
CHANGED
@@ -50,10 +50,12 @@ additional_inputs = [
|
|
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 |
-
)
|
|
|
|
|
|
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)
|