Spaces:
Runtime error
Runtime error
Commit
·
9b904b1
1
Parent(s):
d64f28e
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ gr.Chatbot.postprocess = postprocess
|
|
17 |
with open("css.css", "r", encoding="utf-8") as f:
|
18 |
css = f.read()
|
19 |
|
20 |
-
with gr.Blocks(
|
21 |
|
22 |
history = gr.State([])
|
23 |
token_count = gr.State([])
|
@@ -35,7 +35,7 @@ with gr.Blocks(css=css) as demo:
|
|
35 |
with gr.Column():
|
36 |
chatbot = gr.Chatbot()
|
37 |
user_input = gr.Textbox(show_label=False, placeholder="Enter text and press submit", visible=True).style(container=False)
|
38 |
-
submitBtn = gr.Button("Submit",
|
39 |
emptyBtn = gr.Button("Restart Conversation")
|
40 |
status_display = gr.Markdown("")
|
41 |
|
|
|
17 |
with open("css.css", "r", encoding="utf-8") as f:
|
18 |
css = f.read()
|
19 |
|
20 |
+
with gr.Blocks(theme='gradio/soft') as demo:
|
21 |
|
22 |
history = gr.State([])
|
23 |
token_count = gr.State([])
|
|
|
35 |
with gr.Column():
|
36 |
chatbot = gr.Chatbot()
|
37 |
user_input = gr.Textbox(show_label=False, placeholder="Enter text and press submit", visible=True).style(container=False)
|
38 |
+
submitBtn = gr.Button("Submit",variant="primary").style(container=False)
|
39 |
emptyBtn = gr.Button("Restart Conversation")
|
40 |
status_display = gr.Markdown("")
|
41 |
|