Omnibus commited on
Commit
891fd88
1 Parent(s): cd2eefa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,8 +110,8 @@ def save_game(background_img,star_img,enemy_img,platform_img,dude_img):
110
  try:
111
  api.upload_file(
112
  path_or_fileobj=background_img,
113
- path_in_repo=f"{game_data.split('main/',1)[1]}/images/background/{uid}-background_img.png",
114
- repo_id=game_data.split('datasets/',1)[1].split('/raw',1)[0],
115
  token=token_self,
116
  repo_type="dataset",
117
  )
 
110
  try:
111
  api.upload_file(
112
  path_or_fileobj=background_img,
113
+ path_in_repo=f"{save_data.split('main/',1)[1]}/images/background/{uid}-background_img.png",
114
+ repo_id=save_data.split('datasets/',1)[1].split('/raw',1)[0],
115
  token=token_self,
116
  repo_type="dataset",
117
  )