Update app.py
Browse files
app.py
CHANGED
|
@@ -9,13 +9,6 @@ theme = theme = gr.themes.Soft(
|
|
| 9 |
|
| 10 |
|
| 11 |
with gr.Blocks(theme = theme) as demo:
|
| 12 |
-
with gr.Row():
|
| 13 |
-
gr.HTML("""
|
| 14 |
-
<div style="display: flex; align-items: center;">
|
| 15 |
-
<img src="https://ticio.co/public/Branding/ticio.svg" alt="Logo" style="width: 50px; height: auto; margin-right: 10px;">
|
| 16 |
-
<h1 style="color: #910A0A; margin: 0;">Ticio</h1>
|
| 17 |
-
</div>
|
| 18 |
-
""") # Replace with your logo image URL
|
| 19 |
chatbot = gr.Chatbot(type="messages")
|
| 20 |
hidden_text = gr.Textbox(visible = False) # Added hidden text component
|
| 21 |
gr.ChatInterface(fn=inference, chatbot=chatbot, type="messages", additional_inputs= hidden_text, additional_outputs= hidden_text, save_history= True).render()
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
with gr.Blocks(theme = theme) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
chatbot = gr.Chatbot(type="messages")
|
| 13 |
hidden_text = gr.Textbox(visible = False) # Added hidden text component
|
| 14 |
gr.ChatInterface(fn=inference, chatbot=chatbot, type="messages", additional_inputs= hidden_text, additional_outputs= hidden_text, save_history= True).render()
|