SefyanKehail commited on
Commit
17b871f
·
1 Parent(s): ce792d3

epochs test

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,5 +48,5 @@ def train_model(epochs):
48
  return "Training completed and model saved."
49
 
50
  # Define the Gradio interface
51
- demo = gr.Interface(fn=train_model, inputs=gr.Slider(1, 5, step=1, default=1, label="Number of Epochs"), outputs="text")
52
  demo.launch()
 
48
  return "Training completed and model saved."
49
 
50
  # Define the Gradio interface
51
+ demo = gr.Interface(fn=train_model, inputs=gr.Slider(2, 1000, value=4, label="Count", info="Choose epochs count"), outputs="text")
52
  demo.launch()