Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -190,6 +190,9 @@ with gr.Blocks() as app:
|
|
| 190 |
########## Phase 1: Research Idea Generation Tab ##############
|
| 191 |
with gr.Tab("Phase 1: Research Idea Generation"):
|
| 192 |
gr.Markdown("### Extract Research Elements and Generate Research Ideas")
|
|
|
|
|
|
|
|
|
|
| 193 |
|
| 194 |
with gr.Row():
|
| 195 |
with gr.Column():
|
|
@@ -209,9 +212,6 @@ with gr.Blocks() as app:
|
|
| 209 |
hypothesis_output = gr.Textbox(label="Generated Hypothesis", lines=20, interactive=False)
|
| 210 |
experiment_plan_output = gr.Textbox(label="Generated Experiment Plan", lines=20, interactive=False)
|
| 211 |
|
| 212 |
-
with gr.Row():
|
| 213 |
-
example_1_button = gr.Button("Load Example 1: " + example_data["1"]["title"])
|
| 214 |
-
example_2_button = gr.Button("Load Example 2: " + example_data["2"]["title"])
|
| 215 |
|
| 216 |
# Pre-step: load example
|
| 217 |
example_1_button.click(
|
|
|
|
| 190 |
########## Phase 1: Research Idea Generation Tab ##############
|
| 191 |
with gr.Tab("Phase 1: Research Idea Generation"):
|
| 192 |
gr.Markdown("### Extract Research Elements and Generate Research Ideas")
|
| 193 |
+
with gr.Row():
|
| 194 |
+
example_1_button = gr.Button("Load Example 1: " + example_data["1"]["title"])
|
| 195 |
+
example_2_button = gr.Button("Load Example 2: " + example_data["2"]["title"])
|
| 196 |
|
| 197 |
with gr.Row():
|
| 198 |
with gr.Column():
|
|
|
|
| 212 |
hypothesis_output = gr.Textbox(label="Generated Hypothesis", lines=20, interactive=False)
|
| 213 |
experiment_plan_output = gr.Textbox(label="Generated Experiment Plan", lines=20, interactive=False)
|
| 214 |
|
|
|
|
|
|
|
|
|
|
| 215 |
|
| 216 |
# Pre-step: load example
|
| 217 |
example_1_button.click(
|