Spaces:
Running
Running
Fix indentation in assistant configuration section
Browse filesClean up spacing and indentation in the examples_text component declaration to maintain consistent code formatting.
app.py
CHANGED
@@ -1589,14 +1589,12 @@ with gr.Blocks(title="Chat U/I Helper") as demo:
|
|
1589 |
info="Enable to use pre-configured research assistant settings"
|
1590 |
)
|
1591 |
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
info="These will appear as clickable examples in the chat interface"
|
1599 |
-
)
|
1600 |
|
1601 |
with gr.Accordion("Tool Settings", open=True):
|
1602 |
enable_code_execution = gr.Checkbox(
|
|
|
1589 |
info="Enable to use pre-configured research assistant settings"
|
1590 |
)
|
1591 |
|
1592 |
+
examples_text = gr.Textbox(
|
1593 |
+
label="Example Prompts (one per line)",
|
1594 |
+
placeholder="Can you analyze this research paper: https://example.com/paper.pdf\nWhat are the latest findings on climate change adaptation?\nHelp me fact-check claims about renewable energy efficiency",
|
1595 |
+
lines=3,
|
1596 |
+
info="These will appear as clickable examples in the chat interface"
|
1597 |
+
)
|
|
|
|
|
1598 |
|
1599 |
with gr.Accordion("Tool Settings", open=True):
|
1600 |
enable_code_execution = gr.Checkbox(
|