Spaces:
Runtime error
Runtime error
Update ig.py
Browse files
ig.py
CHANGED
|
@@ -4,7 +4,7 @@ import torch
|
|
| 4 |
|
| 5 |
# Load the processor and model
|
| 6 |
processor = AutoProcessor.from_pretrained("microsoft/git-base")
|
| 7 |
-
model = AutoModelForCausalLM.from_pretrained("./
|
| 8 |
|
| 9 |
def predict(image):
|
| 10 |
try:
|
|
|
|
| 4 |
|
| 5 |
# Load the processor and model
|
| 6 |
processor = AutoProcessor.from_pretrained("microsoft/git-base")
|
| 7 |
+
model = AutoModelForCausalLM.from_pretrained("./")
|
| 8 |
|
| 9 |
def predict(image):
|
| 10 |
try:
|