junxiliu commited on
Commit
31a06c8
·
1 Parent(s): 3d5286f
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -33,8 +33,10 @@ setup_eval_logging()
33
  OUTPUT_DIR = Path("./output/gradio")
34
  OUTPUT_DIR.mkdir(parents=True, exist_ok=True)
35
  snapshot_download(repo_id="google/flan-t5-large")
36
- snapshot_download(repo_id="google-bert/bert-base-uncased")
37
- snapshot_download(repo_id="FacebookAI/roberta-base")
 
 
38
  snapshot_download(repo_id="junxiliu/Meanaudio", local_dir="./weights",allow_patterns=["*.pt", "*.pth"] )
39
  current_model_state = {
40
  "net": None,
 
33
  OUTPUT_DIR = Path("./output/gradio")
34
  OUTPUT_DIR.mkdir(parents=True, exist_ok=True)
35
  snapshot_download(repo_id="google/flan-t5-large")
36
+ #snapshot_download(repo_id="google-bert/bert-base-uncased")
37
+ a=AutoModel.from_pretrained('bert-base-uncased')
38
+ b=AutoModel.from_pretrained('roberta-base')
39
+ #snapshot_download(repo_id="FacebookAI/roberta-base")
40
  snapshot_download(repo_id="junxiliu/Meanaudio", local_dir="./weights",allow_patterns=["*.pt", "*.pth"] )
41
  current_model_state = {
42
  "net": None,