N566616 commited on
Commit
cfcf6e1
·
verified ·
1 Parent(s): b14edef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ def find_best_random_state_with_plot(range_pair):
147
  # Gradio Interface with text and plot output
148
  app = gr.Interface(
149
  fn=find_best_random_state_with_plot,
150
- inputs=gr.inputs.Tuple([gr.Number(label="Min Random State", value=50, precision=0),
151
  gr.Number(label="Max Random State", value=60, precision=0)]),
152
  outputs=[gr.Textbox(label="Search Results"), gr.Plot(label="Accuracy vs Random State")],
153
  title="Find Best Random State for Model Training with Accuracy Plot",
 
147
  # Gradio Interface with text and plot output
148
  app = gr.Interface(
149
  fn=find_best_random_state_with_plot,
150
+ inputs=gr.Tuple([gr.Number(label="Min Random State", value=50, precision=0),
151
  gr.Number(label="Max Random State", value=60, precision=0)]),
152
  outputs=[gr.Textbox(label="Search Results"), gr.Plot(label="Accuracy vs Random State")],
153
  title="Find Best Random State for Model Training with Accuracy Plot",