Staticaliza commited on
Commit
5e7d02a
·
verified ·
1 Parent(s): c0d6cf5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ DEFAULT_INPUT = "Describe in one paragraph."
18
  MAX_FRAMES = 64
19
 
20
  repo_name = "openbmb/MiniCPM-o-2_6" # "openbmb/MiniCPM-V-2_6-int4" # "openbmb/MiniCPM-V-2_6"
21
- repo = AutoModel.from_pretrained(repo_name', trust_remote_code=True, attn_implementation='sdpa', torch_dtype=torch.bfloat16)
22
  tokenizer = AutoTokenizer.from_pretrained(repo_name, trust_remote_code=True)
23
 
24
  css = '''
 
18
  MAX_FRAMES = 64
19
 
20
  repo_name = "openbmb/MiniCPM-o-2_6" # "openbmb/MiniCPM-V-2_6-int4" # "openbmb/MiniCPM-V-2_6"
21
+ repo = AutoModel.from_pretrained(repo_name, trust_remote_code=True, attn_implementation="sdpa", torch_dtype=torch.bfloat16)
22
  tokenizer = AutoTokenizer.from_pretrained(repo_name, trust_remote_code=True)
23
 
24
  css = '''