Spaces:
Runtime error
Runtime error
hanzla javaid
commited on
Commit
·
d747da0
1
Parent(s):
229f61f
test
Browse files
app.py
CHANGED
|
@@ -118,7 +118,7 @@ def clear_chat():
|
|
| 118 |
load_all_models()
|
| 119 |
|
| 120 |
with gr.Blocks() as demo:
|
| 121 |
-
gr.Markdown("# 🤖
|
| 122 |
|
| 123 |
# Dropdowns for selecting models
|
| 124 |
with gr.Row():
|
|
@@ -128,10 +128,10 @@ with gr.Blocks() as demo:
|
|
| 128 |
# Separate chatboxes for each model
|
| 129 |
with gr.Row():
|
| 130 |
with gr.Column():
|
| 131 |
-
gr.Markdown("###
|
| 132 |
chatbot1 = gr.Chatbot(label=f"{models[0].split('/')[-1]} Chat History")
|
| 133 |
with gr.Column():
|
| 134 |
-
gr.Markdown("###
|
| 135 |
chatbot2 = gr.Chatbot(label=f"{models[1].split('/')[-1]} Chat History")
|
| 136 |
|
| 137 |
# Input textbox for user message
|
|
|
|
| 118 |
load_all_models()
|
| 119 |
|
| 120 |
with gr.Blocks() as demo:
|
| 121 |
+
gr.Markdown("# 🤖 Model Comparison Space")
|
| 122 |
|
| 123 |
# Dropdowns for selecting models
|
| 124 |
with gr.Row():
|
|
|
|
| 128 |
# Separate chatboxes for each model
|
| 129 |
with gr.Row():
|
| 130 |
with gr.Column():
|
| 131 |
+
gr.Markdown("### Model 1 Chat")
|
| 132 |
chatbot1 = gr.Chatbot(label=f"{models[0].split('/')[-1]} Chat History")
|
| 133 |
with gr.Column():
|
| 134 |
+
gr.Markdown("### Model 2 Chat")
|
| 135 |
chatbot2 = gr.Chatbot(label=f"{models[1].split('/')[-1]} Chat History")
|
| 136 |
|
| 137 |
# Input textbox for user message
|