Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
from transformers import
|
3 |
|
4 |
-
processor = AutoProcessor.from_pretrained("enzer1992/AI-Guru")
|
5 |
model = AutoModelForImageTextToText.from_pretrained("enzer1992/AI-Guru")
|
6 |
|
7 |
def generate_text(image):
|
|
|
1 |
import gradio as gr
|
2 |
+
from transformers import AutoModelForImageTextToText
|
3 |
|
|
|
4 |
model = AutoModelForImageTextToText.from_pretrained("enzer1992/AI-Guru")
|
5 |
|
6 |
def generate_text(image):
|