Spaces:
Build error
Build error
SefyanKehail
commited on
Commit
·
17b871f
1
Parent(s):
ce792d3
epochs test
Browse files
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(
|
| 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()
|