Make input and output fields for check agent larger
Browse files
app.py
CHANGED
|
@@ -184,11 +184,11 @@ with gr.Blocks() as demo:
|
|
| 184 |
)
|
| 185 |
|
| 186 |
with gr.Row():
|
| 187 |
-
question_input = gr.Textbox(label="Enter your question", placeholder="e.g., What is the capital of France?", lines=
|
| 188 |
check_button = gr.Button("Check Answer")
|
| 189 |
|
| 190 |
-
final_output = gr.Textbox(label="✅ Final Answer", lines=
|
| 191 |
-
logs_output = gr.Textbox(label="📝 Agent Logs", lines=
|
| 192 |
|
| 193 |
check_button.click(
|
| 194 |
fn=check_agent,
|
|
|
|
| 184 |
)
|
| 185 |
|
| 186 |
with gr.Row():
|
| 187 |
+
question_input = gr.Textbox(label="Enter your question", placeholder="e.g., What is the capital of France?", lines=10)
|
| 188 |
check_button = gr.Button("Check Answer")
|
| 189 |
|
| 190 |
+
final_output = gr.Textbox(label="✅ Final Answer", lines=10, interactive=False)
|
| 191 |
+
logs_output = gr.Textbox(label="📝 Agent Logs", lines=20, interactive=False)
|
| 192 |
|
| 193 |
check_button.click(
|
| 194 |
fn=check_agent,
|