shiv-am-04 commited on
Commit
c027aed
·
verified ·
1 Parent(s): 921c235

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -9
README.md CHANGED
@@ -1,15 +1,11 @@
1
- from huggingface_hub import hf_hub_download
 
 
 
2
  repo_name = "shiv-am-04/En-to-Fr-translator"
3
 
4
- #### Download model,tokenizer and python file for translation
5
  model_path = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="model.weights.h5")
6
  tokenizer_path_english = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="en_tokenizer.json")
7
  tokenizer_path_french = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="fr_tokenizer.json")
8
 
9
- translation_file = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="translate.py")
10
-
11
-
12
-
13
- ---
14
- license: apache-2.0
15
- ---
 
1
+ #### Download model,tokenizer and python file for translation
2
+
3
+ from huggingface_hub import hf_hub_download
4
+
5
  repo_name = "shiv-am-04/En-to-Fr-translator"
6
 
 
7
  model_path = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="model.weights.h5")
8
  tokenizer_path_english = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="en_tokenizer.json")
9
  tokenizer_path_french = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="fr_tokenizer.json")
10
 
11
+ translation_file = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="translate.py")