Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import PIL.Image
|
|
4 |
import skimage.io as io
|
5 |
import streamlit as st
|
6 |
from transformers import GPT2Tokenizer, GPT2LMHeadModel, AdamW, get_linear_schedule_with_warmup
|
7 |
-
from model import
|
8 |
|
9 |
#model loading code
|
10 |
|
|
|
4 |
import skimage.io as io
|
5 |
import streamlit as st
|
6 |
from transformers import GPT2Tokenizer, GPT2LMHeadModel, AdamW, get_linear_schedule_with_warmup
|
7 |
+
from model import generate2,ClipCaptionModel
|
8 |
|
9 |
#model loading code
|
10 |
|