Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,8 @@ with gr.Blocks(theme=SPIRITUAL_THEME, title="Divine Dialogue with Lord Krishna")
|
|
| 91 |
chatbot = gr.ChatInterface(
|
| 92 |
query_krishna,
|
| 93 |
chatbot=gr.Chatbot(
|
| 94 |
-
height=500
|
|
|
|
| 95 |
),
|
| 96 |
textbox=gr.Textbox(
|
| 97 |
placeholder="Ask your spiritual question...",
|
|
@@ -103,10 +104,7 @@ with gr.Blocks(theme=SPIRITUAL_THEME, title="Divine Dialogue with Lord Krishna")
|
|
| 103 |
"How to achieve inner peace?",
|
| 104 |
"Explain karma yoga from Bhagavad Gita"
|
| 105 |
],
|
| 106 |
-
theme="compact"
|
| 107 |
-
retry_btn=None,
|
| 108 |
-
undo_btn=None,
|
| 109 |
-
clear_btn="🔄 New Conversation"
|
| 110 |
)
|
| 111 |
|
| 112 |
# Footer
|
|
|
|
| 91 |
chatbot = gr.ChatInterface(
|
| 92 |
query_krishna,
|
| 93 |
chatbot=gr.Chatbot(
|
| 94 |
+
height=500,
|
| 95 |
+
type="messages"
|
| 96 |
),
|
| 97 |
textbox=gr.Textbox(
|
| 98 |
placeholder="Ask your spiritual question...",
|
|
|
|
| 104 |
"How to achieve inner peace?",
|
| 105 |
"Explain karma yoga from Bhagavad Gita"
|
| 106 |
],
|
| 107 |
+
theme="compact"
|
|
|
|
|
|
|
|
|
|
| 108 |
)
|
| 109 |
|
| 110 |
# Footer
|