hajar-bettiche-07 commited on
Commit ·
b8bba75
1
Parent(s): 6cf8032
Book Chat AI with Gradio interface
Browse files
app.py
CHANGED
|
@@ -490,7 +490,14 @@ with gr.Blocks(
|
|
| 490 |
status_text = gr.HTML("", visible=False)
|
| 491 |
|
| 492 |
# Chat Section - COINS COURBÉS EN HAUT
|
| 493 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 494 |
chat = gr.ChatInterface(
|
| 495 |
fn=echo,
|
| 496 |
type="messages",
|
|
|
|
| 490 |
status_text = gr.HTML("", visible=False)
|
| 491 |
|
| 492 |
# Chat Section - COINS COURBÉS EN HAUT
|
| 493 |
+
with gr.Group(visible=False) as chat_section:
|
| 494 |
+
gr.HTML("""
|
| 495 |
+
<div class="chat-section-wrapper">
|
| 496 |
+
<div class="chat-section">
|
| 497 |
+
<div class="chat-header">💬 Chat with Your Book</div>
|
| 498 |
+
<div class="chat-container">
|
| 499 |
+
""")
|
| 500 |
+
|
| 501 |
chat = gr.ChatInterface(
|
| 502 |
fn=echo,
|
| 503 |
type="messages",
|