Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,12 @@ def chat_response(message, history):
|
|
15 |
output = interpreter_assistant.invoke({"content": message})
|
16 |
response = output[0].content[0].text.value
|
17 |
return response
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
chatbot = gr.ChatInterface(chat_response,theme=None)
|
21 |
|
22 |
demo.launch(share=True)
|
|
|
15 |
output = interpreter_assistant.invoke({"content": message})
|
16 |
response = output[0].content[0].text.value
|
17 |
return response
|
18 |
+
css = """
|
19 |
+
label[data-testid="block-label"] {
|
20 |
+
display: none;
|
21 |
+
footer{display:none !important}
|
22 |
+
"""
|
23 |
+
with gr.Blocks(css=css) as demo:
|
24 |
chatbot = gr.ChatInterface(chat_response,theme=None)
|
25 |
|
26 |
demo.launch(share=True)
|