Spaces:
Build error
Build error
Update ig.py
Browse files
ig.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import AutoProcessor, AutoModelForCausalLM
|
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
|
5 |
-
model = AutoModelForCausalLM.from_pretrained("./"
|
6 |
processor = AutoProcessor.from_pretrained("microsoft/git-base")
|
7 |
|
8 |
def predict(image):
|
|
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
|
5 |
+
model = AutoModelForCausalLM.from_pretrained("./")
|
6 |
processor = AutoProcessor.from_pretrained("microsoft/git-base")
|
7 |
|
8 |
def predict(image):
|