K00B404 commited on
Commit
55b8d78
·
verified ·
1 Parent(s): 4fe8b5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):