kashif HF staff commited on
Commit
baa97f0
1 Parent(s): 97ab62b

fix order of arguments

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ with gr.Blocks() as demo:
68
  plot = gr.Plot()
69
 
70
  upload_btn.upload(fn=preprocess, inputs=[upload_btn, prediction_length, windows], outputs=plot)
71
- train_btn.click(fn=train_and_forecast, inputs=[upload_btn, prediction_length, epochs, windows], outputs=plot)
72
 
73
  if __name__ == "__main__":
74
  demo.queue().launch()
 
68
  plot = gr.Plot()
69
 
70
  upload_btn.upload(fn=preprocess, inputs=[upload_btn, prediction_length, windows], outputs=plot)
71
+ train_btn.click(fn=train_and_forecast, inputs=[upload_btn, prediction_length, windows, epochs], outputs=plot)
72
 
73
  if __name__ == "__main__":
74
  demo.queue().launch()