Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
import streamlit as st
|
| 3 |
from PIL import Image
|
| 4 |
import time
|
|
|
|
| 5 |
|
| 6 |
# function part
|
| 7 |
def generate_image_caption(image_path):
|
|
|
|
| 2 |
import streamlit as st
|
| 3 |
from PIL import Image
|
| 4 |
import time
|
| 5 |
+
from transformers import pipeline
|
| 6 |
|
| 7 |
# function part
|
| 8 |
def generate_image_caption(image_path):
|