Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,15 +113,17 @@ with gr.Blocks() as demo:
|
|
| 113 |
msg_state = gr.State(value=[])
|
| 114 |
|
| 115 |
html_output = gr.HTML(value=update_notebook_display(create_base_notebook([])[0]))
|
| 116 |
-
|
| 117 |
user_input = gr.Textbox(
|
| 118 |
-
value="Solve the Lotka-Volterra equation and plot the results.", lines=3
|
| 119 |
)
|
| 120 |
|
| 121 |
with gr.Row():
|
| 122 |
generate_btn = gr.Button("Let's go!")
|
| 123 |
clear_btn = gr.Button("Clear")
|
| 124 |
-
|
|
|
|
|
|
|
| 125 |
with gr.Accordion("Upload files", open=False):
|
| 126 |
files = gr.File(label="Upload files to use", file_count="multiple")
|
| 127 |
|
|
|
|
| 113 |
msg_state = gr.State(value=[])
|
| 114 |
|
| 115 |
html_output = gr.HTML(value=update_notebook_display(create_base_notebook([])[0]))
|
| 116 |
+
|
| 117 |
user_input = gr.Textbox(
|
| 118 |
+
value="Solve the Lotka-Volterra equation and plot the results.", lines=3, label="User input"
|
| 119 |
)
|
| 120 |
|
| 121 |
with gr.Row():
|
| 122 |
generate_btn = gr.Button("Let's go!")
|
| 123 |
clear_btn = gr.Button("Clear")
|
| 124 |
+
|
| 125 |
+
file = gr.File(TMP_DIR+"jupyter-agent.ipynb", label="Download Jupyter Notebook")
|
| 126 |
+
|
| 127 |
with gr.Accordion("Upload files", open=False):
|
| 128 |
files = gr.File(label="Upload files to use", file_count="multiple")
|
| 129 |
|