jonathanjordan21
commited on
Commit
·
19599cb
1
Parent(s):
b3b9775
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline, AutoMode
|
|
5 |
from components import caption_chain, tag_chain
|
6 |
from components import pexels, utils
|
7 |
import os
|
|
|
8 |
|
9 |
model = AutoModelForSeq2SeqLM.from_pretrained("declare-lab/flan-alpaca-gpt4-xl")
|
10 |
tokenizer = AutoTokenizer.from_pretrained("declare-lab/flan-alpaca-gpt4-xl")
|
|
|
5 |
from components import caption_chain, tag_chain
|
6 |
from components import pexels, utils
|
7 |
import os
|
8 |
+
import gradio as gr
|
9 |
|
10 |
model = AutoModelForSeq2SeqLM.from_pretrained("declare-lab/flan-alpaca-gpt4-xl")
|
11 |
tokenizer = AutoTokenizer.from_pretrained("declare-lab/flan-alpaca-gpt4-xl")
|