Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from transformers import BitsAndBytesConfig, pipeline
|
|
| 5 |
# Load model directly
|
| 6 |
|
| 7 |
|
| 8 |
-
model_id = "
|
| 9 |
pipe = pipeline("image-to-text", model=model_id)
|
| 10 |
|
| 11 |
def generate_text(image):
|
|
|
|
| 5 |
# Load model directly
|
| 6 |
|
| 7 |
|
| 8 |
+
model_id = "marianna13/llava-phi-2-3b"
|
| 9 |
pipe = pipeline("image-to-text", model=model_id)
|
| 10 |
|
| 11 |
def generate_text(image):
|