Spaces:
Runtime error
Runtime error
Update multimodal_ai.py
Browse files- multimodal_ai.py +2 -1
multimodal_ai.py
CHANGED
|
@@ -17,7 +17,8 @@ class MultimodalAI:
|
|
| 17 |
login(token=self.HUGGINGFACE_TOKEN)
|
| 18 |
|
| 19 |
# Model selection
|
| 20 |
-
self.model_name = "openai-community/gpt2"
|
|
|
|
| 21 |
|
| 22 |
# Check if a CUDA-enabled GPU is available.
|
| 23 |
# If available, move the model to the GPU (cuda:0) for faster computation.
|
|
|
|
| 17 |
login(token=self.HUGGINGFACE_TOKEN)
|
| 18 |
|
| 19 |
# Model selection
|
| 20 |
+
#self.model_name = "openai-community/gpt2"
|
| 21 |
+
self.model_name = "liuhaotian/llava-v1.6-34b"
|
| 22 |
|
| 23 |
# Check if a CUDA-enabled GPU is available.
|
| 24 |
# If available, move the model to the GPU (cuda:0) for faster computation.
|