Kevin Fink commited on
Commit
3a30063
·
1 Parent(s): e32d4aa
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -271,7 +271,7 @@ def fine_tune_model(model, dataset_name, hub_id, api_key, num_epochs, batch_size
271
 
272
  print("No previous checkpoints found. Starting training from scratch.")
273
  train_result = trainer.train()
274
- trainer.push_to_hub(commit_message="Training complete!")
275
  except Exception as e:
276
  return f"An error occurred: {str(e)}, TB: {traceback.format_exc()}"
277
  return 'DONE!'#train_result
 
271
 
272
  print("No previous checkpoints found. Starting training from scratch.")
273
  train_result = trainer.train()
274
+ #trainer.push_to_hub(commit_message="Training complete!")
275
  except Exception as e:
276
  return f"An error occurred: {str(e)}, TB: {traceback.format_exc()}"
277
  return 'DONE!'#train_result