jacksonstrut commited on
Commit
b0691b2
·
verified ·
1 Parent(s): dab3a19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -139,8 +139,6 @@ with open(readme_path, 'w') as f:
139
  f.write(model_card)
140
 
141
  # Upload the Model Card to Hugging Face Hub
142
- upload_file(path_or_fileobj=path_or_fileobj, path_in_repo=path_in_repo, repo_id=repo_id, token=os.getenv('HUGGINGFACE_API_TOKEN'))
143
- ) # Ensure the token has write permissions # Ensure the token has write permissions
144
 
145
  # Upload files to Hugging Face Hub
146
  upload_file(
 
139
  f.write(model_card)
140
 
141
  # Upload the Model Card to Hugging Face Hub
 
 
142
 
143
  # Upload files to Hugging Face Hub
144
  upload_file(