ChandraP12330
commited on
Commit
•
418d56e
1
Parent(s):
1a549b1
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,8 @@ if uploaded_image is not None:
|
|
14 |
image= Image.open(uploaded_image)
|
15 |
st.image(image, caption="Uploaded Image", use_column_width=True)
|
16 |
|
17 |
-
|
|
|
18 |
initial_caption = initial_caption[0]['generated_text']
|
19 |
|
20 |
##CLIP
|
|
|
14 |
image= Image.open(uploaded_image)
|
15 |
st.image(image, caption="Uploaded Image", use_column_width=True)
|
16 |
|
17 |
+
image = Image.open(uploaded_image)
|
18 |
+
initial_caption = initial_caption_pipe(image)
|
19 |
initial_caption = initial_caption[0]['generated_text']
|
20 |
|
21 |
##CLIP
|