Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ transformers.logging.disable_progress_bar()
|
|
| 11 |
warnings.filterwarnings('ignore')
|
| 12 |
|
| 13 |
# set device
|
| 14 |
-
torch.set_default_device('cuda') # or 'cpu'
|
| 15 |
|
| 16 |
model_name = 'cognitivecomputations/dolphin-vision-7b'
|
| 17 |
|
|
|
|
| 11 |
warnings.filterwarnings('ignore')
|
| 12 |
|
| 13 |
# set device
|
| 14 |
+
torch.set_default_device('cuda:0') # or 'cpu'
|
| 15 |
|
| 16 |
model_name = 'cognitivecomputations/dolphin-vision-7b'
|
| 17 |
|