Update app.py
Browse filesbriefer examples to give space for state viz
app.py
CHANGED
|
@@ -809,7 +809,7 @@ def start_demo(source_mode, demo_choice, url_input, queries_text, chunk_size):
|
|
| 809 |
|
| 810 |
|
| 811 |
def toggle_inputs(source_mode):
|
| 812 |
-
frankenstein_q = "
|
| 813 |
return (
|
| 814 |
gr.update(visible=(source_mode == "Quick Demo")),
|
| 815 |
gr.update(visible=(source_mode == "URL")),
|
|
@@ -860,7 +860,7 @@ def build_demo():
|
|
| 860 |
)
|
| 861 |
queries_input = gr.Textbox(
|
| 862 |
label="Search Queries (comma-separated)",
|
| 863 |
-
value="
|
| 864 |
visible=True,
|
| 865 |
)
|
| 866 |
|
|
|
|
| 809 |
|
| 810 |
|
| 811 |
def toggle_inputs(source_mode):
|
| 812 |
+
frankenstein_q = "an innocent woman is wrongly executed, playing god with science"
|
| 813 |
return (
|
| 814 |
gr.update(visible=(source_mode == "Quick Demo")),
|
| 815 |
gr.update(visible=(source_mode == "URL")),
|
|
|
|
| 860 |
)
|
| 861 |
queries_input = gr.Textbox(
|
| 862 |
label="Search Queries (comma-separated)",
|
| 863 |
+
value="an innocent woman is wrongly executed, playing god with science",
|
| 864 |
visible=True,
|
| 865 |
)
|
| 866 |
|