lvwerra HF staff commited on
Commit
0eab080
1 Parent(s): 55dbaf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
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
- file = gr.File(TMP_DIR+"jupyter-agent.ipynb")
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