tejani commited on
Commit
0440512
·
verified ·
1 Parent(s): bfaf0f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -9,7 +9,6 @@ import gradio as gr
9
  import matplotlib.pyplot as plt
10
  import seaborn as sns
11
  import io
12
- import base64
13
  from PIL import Image
14
  import warnings
15
  warnings.filterwarnings('ignore')
@@ -210,8 +209,7 @@ with gr.Blocks() as demo:
210
  train_button.click(
211
  fn=train_model,
212
  inputs=[file_input, n_estimators, learning_rate, max_depth, subsample],
213
- outputs=[output_text, accuracy_plot, confusion_plots],
214
- _js="() => {return {progress: true}}"
215
  )
216
 
217
  demo.launch()
 
9
  import matplotlib.pyplot as plt
10
  import seaborn as sns
11
  import io
 
12
  from PIL import Image
13
  import warnings
14
  warnings.filterwarnings('ignore')
 
209
  train_button.click(
210
  fn=train_model,
211
  inputs=[file_input, n_estimators, learning_rate, max_depth, subsample],
212
+ outputs=[output_text, accuracy_plot, confusion_plots]
 
213
  )
214
 
215
  demo.launch()