Update app.py
Browse files
app.py
CHANGED
|
@@ -166,10 +166,6 @@ with gr.Blocks(css="body {background-color: #f7f7f7;}") as demo:
|
|
| 166 |
with gr.Row():
|
| 167 |
start_btn = gr.Button("🚀 Start Game", elem_id="start-btn")
|
| 168 |
|
| 169 |
-
|
| 170 |
-
with gr.Row():
|
| 171 |
-
consult_btn = gr.Button("💬 Toggle Consult Mode", elem_id="consult-btn")
|
| 172 |
-
consult_status = gr.Textbox(label="Consult Mode", interactive=False)
|
| 173 |
|
| 174 |
with gr.Row():
|
| 175 |
with gr.Column():
|
|
@@ -183,6 +179,9 @@ with gr.Blocks(css="body {background-color: #f7f7f7;}") as demo:
|
|
| 183 |
with gr.Column():
|
| 184 |
consult_output = gr.Textbox(label="💡 Consult Hint", visible=False)
|
| 185 |
|
|
|
|
|
|
|
|
|
|
| 186 |
# Consultant Interaction Section
|
| 187 |
with gr.Row(visible=False) as consult_row:
|
| 188 |
user_question = gr.Textbox(label="Ask a question to the LLM")
|
|
|
|
| 166 |
with gr.Row():
|
| 167 |
start_btn = gr.Button("🚀 Start Game", elem_id="start-btn")
|
| 168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 169 |
|
| 170 |
with gr.Row():
|
| 171 |
with gr.Column():
|
|
|
|
| 179 |
with gr.Column():
|
| 180 |
consult_output = gr.Textbox(label="💡 Consult Hint", visible=False)
|
| 181 |
|
| 182 |
+
with gr.Row():
|
| 183 |
+
consult_btn = gr.Button("💬 Toggle Consult Mode", elem_id="consult-btn")
|
| 184 |
+
consult_status = gr.Textbox(label="Consult Mode", interactive=False)
|
| 185 |
# Consultant Interaction Section
|
| 186 |
with gr.Row(visible=False) as consult_row:
|
| 187 |
user_question = gr.Textbox(label="Ask a question to the LLM")
|