Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -560,19 +560,7 @@ chatbot = AIChatbot()
|
|
| 560 |
# Create Gradio interface
|
| 561 |
def create_interface():
|
| 562 |
with gr.Blocks(
|
| 563 |
-
title="AI Chatbot"
|
| 564 |
-
theme=gr.themes.Soft(),
|
| 565 |
-
css="""
|
| 566 |
-
.gradio-container {
|
| 567 |
-
max-width: 800px !important;
|
| 568 |
-
margin: auto !important;
|
| 569 |
-
}
|
| 570 |
-
.chat-message {
|
| 571 |
-
padding: 10px;
|
| 572 |
-
margin: 5px 0;
|
| 573 |
-
border-radius: 10px;
|
| 574 |
-
}
|
| 575 |
-
"""
|
| 576 |
) as interface:
|
| 577 |
|
| 578 |
gr.Markdown(
|
|
@@ -599,13 +587,7 @@ def create_interface():
|
|
| 599 |
"What are your services?",
|
| 600 |
"Thank you for your help!"
|
| 601 |
],
|
| 602 |
-
cache_examples=False
|
| 603 |
-
retry_btn="🔄 Retry",
|
| 604 |
-
undo_btn="↩️ Undo",
|
| 605 |
-
clear_btn="🗑️ Clear",
|
| 606 |
-
submit_btn="Send",
|
| 607 |
-
stop_btn="⏹️ Stop",
|
| 608 |
-
additional_inputs=None
|
| 609 |
)
|
| 610 |
|
| 611 |
# Footer
|
|
|
|
| 560 |
# Create Gradio interface
|
| 561 |
def create_interface():
|
| 562 |
with gr.Blocks(
|
| 563 |
+
title="AI Chatbot"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 564 |
) as interface:
|
| 565 |
|
| 566 |
gr.Markdown(
|
|
|
|
| 587 |
"What are your services?",
|
| 588 |
"Thank you for your help!"
|
| 589 |
],
|
| 590 |
+
cache_examples=False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 591 |
)
|
| 592 |
|
| 593 |
# Footer
|