Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,6 +79,10 @@ def predict(user_input, history):
|
|
| 79 |
return message_content
|
| 80 |
|
| 81 |
#GUI
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
gr.ChatInterface(predict, submit_btn="Chat with "+ coach_name_short, retry_btn=None, undo_btn=None, clear_btn=None, autofocus=True)
|
| 84 |
demo.launch(show_api=False)
|
|
|
|
| 79 |
return message_content
|
| 80 |
|
| 81 |
#GUI
|
| 82 |
+
#GUI
|
| 83 |
+
with gr.Blocks(theme, css="""
|
| 84 |
+
footer {visibility: hidden}
|
| 85 |
+
#share-btn-container {display: none !important}
|
| 86 |
+
""") as demo:
|
| 87 |
gr.ChatInterface(predict, submit_btn="Chat with "+ coach_name_short, retry_btn=None, undo_btn=None, clear_btn=None, autofocus=True)
|
| 88 |
demo.launch(show_api=False)
|