oucgc1996 commited on
Commit
2f72a2c
·
verified ·
1 Parent(s): 1604e8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -197,12 +197,12 @@ with gr.Blocks() as demo:
197
  with gr.Row():
198
  start_button = gr.Button("Start Generation")
199
  stop_button = gr.Button("Stop Generation")
200
- with gr.Row():
201
- output_df = gr.DataFrame(label="Generated Conotoxins")
202
  with gr.Row():
203
  output_file = gr.File(label="Download generated conotoxins")
204
-
205
- start_button.click(CTXGen, inputs=[X0, X3, X1, X2, τ, g_num, model_name], outputs=[output_df, output_file])
 
 
206
  stop_button.click(stop_generation, outputs=None)
207
 
208
  demo.launch()
 
197
  with gr.Row():
198
  start_button = gr.Button("Start Generation")
199
  stop_button = gr.Button("Stop Generation")
 
 
200
  with gr.Row():
201
  output_file = gr.File(label="Download generated conotoxins")
202
+ with gr.Row():
203
+ output_df = gr.DataFrame(label="Generated Conotoxins")
204
+
205
+ start_button.click(CTXGen, inputs=[X0, X3, X1, X2, τ, g_num, model_name], outputs=[output_file, output_df])
206
  stop_button.click(stop_generation, outputs=None)
207
 
208
  demo.launch()