yehtutmaung
commited on
Commit
•
ba581b5
1
Parent(s):
7779890
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ my_key = "your_api_key_here"
|
|
11 |
|
12 |
# Load tokenizer and model
|
13 |
tokenizer = AutoTokenizer.from_pretrained('openbmb/MiniCPM-V-2', trust_remote_code=True)
|
14 |
-
model = AutoModel.from_pretrained('openbmb/MiniCPM-V-2')
|
15 |
model.eval()
|
16 |
|
17 |
# Set device for model
|
|
|
11 |
|
12 |
# Load tokenizer and model
|
13 |
tokenizer = AutoTokenizer.from_pretrained('openbmb/MiniCPM-V-2', trust_remote_code=True)
|
14 |
+
model = AutoModel.from_pretrained('openbmb/MiniCPM-V-2',trust_remote_code=True)
|
15 |
model.eval()
|
16 |
|
17 |
# Set device for model
|