Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
| 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",
|