Pumponchik commited on
Commit
00ef496
·
verified ·
1 Parent(s): 431b953

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ from huggingface_hub import hf_hub_download
8
  from model import image_captioning_model
9
 
10
  # Загрузка файлов
11
- repo_id = "Pumponchik/image_caption_weak"
 
12
  model_path = hf_hub_download(repo_id=repo_id, filename="pytorch_model.bin")
13
  config_path = hf_hub_download(repo_id=repo_id, filename="config.json")
14
  tokenizer_path = hf_hub_download(repo_id=repo_id, filename="tokenizer.pkl")
 
8
  from model import image_captioning_model
9
 
10
  # Загрузка файлов
11
+ # https://huggingface.co/spaces/Pumponchik/ImageCaption/tree/main
12
+ repo_id = "Pumponchik/ImageCaption"
13
  model_path = hf_hub_download(repo_id=repo_id, filename="pytorch_model.bin")
14
  config_path = hf_hub_download(repo_id=repo_id, filename="config.json")
15
  tokenizer_path = hf_hub_download(repo_id=repo_id, filename="tokenizer.pkl")