Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -100,9 +100,9 @@ def user_ask(state, chatbot1, chatbot2, textbox, upvote_btn_a, upvote_btn_b):
|
|
100 |
return state, chatbot1, chatbot2, "", upvote_btn_a, upvote_btn_b
|
101 |
|
102 |
# ... [Rest of your existing functions] ...
|
103 |
-
state = gr.State({})
|
104 |
|
105 |
with gr.Blocks() as demo:
|
|
|
106 |
with gr.Row():
|
107 |
# First column for Model A
|
108 |
with gr.Column():
|
|
|
100 |
return state, chatbot1, chatbot2, "", upvote_btn_a, upvote_btn_b
|
101 |
|
102 |
# ... [Rest of your existing functions] ...
|
|
|
103 |
|
104 |
with gr.Blocks() as demo:
|
105 |
+
state = gr.State({})
|
106 |
with gr.Row():
|
107 |
# First column for Model A
|
108 |
with gr.Column():
|