PattananKKK
commited on
Commit
•
d8dc107
1
Parent(s):
b589efa
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
import torch
|
5 |
|
6 |
processor = AutoProcessor.from_pretrained('microsoft/git-base')
|
7 |
-
model = AutoModelForCausalLM.from_pretrained('
|
8 |
|
9 |
def predict(image):
|
10 |
try:
|
|
|
4 |
import torch
|
5 |
|
6 |
processor = AutoProcessor.from_pretrained('microsoft/git-base')
|
7 |
+
model = AutoModelForCausalLM.from_pretrained('./')
|
8 |
|
9 |
def predict(image):
|
10 |
try:
|