Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -373,7 +373,7 @@ def train_model_old(epochs):
|
|
373 |
def gradio_train(epochs):
|
374 |
# Gradio training interface function
|
375 |
model, training_log = train_model(int(epochs))
|
376 |
-
to_hub(model)
|
377 |
return f"{training_log}\n\nModel trained for {epochs} epochs and pushed to {model_repo_id}"
|
378 |
|
379 |
def gradio_inference(input_image):
|
|
|
373 |
def gradio_train(epochs):
|
374 |
# Gradio training interface function
|
375 |
model, training_log = train_model(int(epochs))
|
376 |
+
#to_hub(model)
|
377 |
return f"{training_log}\n\nModel trained for {epochs} epochs and pushed to {model_repo_id}"
|
378 |
|
379 |
def gradio_inference(input_image):
|