Spaces:
Running
on
Zero
Running
on
Zero
ragavsachdeva
commited on
Commit
•
9d0818e
1
Parent(s):
f6db6a4
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import numpy as np
|
|
4 |
from transformers import AutoModel
|
5 |
import torch
|
6 |
import spaces
|
|
|
7 |
|
8 |
# Load the model
|
9 |
model = AutoModel.from_pretrained("ragavsachdeva/magiv2", trust_remote_code=True).cuda().eval()
|
|
|
4 |
from transformers import AutoModel
|
5 |
import torch
|
6 |
import spaces
|
7 |
+
import os
|
8 |
|
9 |
# Load the model
|
10 |
model = AutoModel.from_pretrained("ragavsachdeva/magiv2", trust_remote_code=True).cuda().eval()
|