Spaces:
Sleeping
Sleeping
model on GPU
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ model = MllamaForConditionalGeneration.from_pretrained(
|
|
33 |
)
|
34 |
|
35 |
# Move the model to the appropriate device (GPU if available)
|
36 |
-
model.to(device)
|
37 |
processor = AutoProcessor.from_pretrained(model_name, use_auth_token=HF_TOKEN)
|
38 |
|
39 |
# @spaces.GPU # Use the free GPU provided by Hugging Face Spaces
|
|
|
33 |
)
|
34 |
|
35 |
# Move the model to the appropriate device (GPU if available)
|
36 |
+
# model.to(device)
|
37 |
processor = AutoProcessor.from_pretrained(model_name, use_auth_token=HF_TOKEN)
|
38 |
|
39 |
# @spaces.GPU # Use the free GPU provided by Hugging Face Spaces
|