Bondya commited on
Commit
a9942bd
·
verified ·
1 Parent(s): 1069796

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -2,15 +2,6 @@
2
  from transformers import pipeline
3
  import streamlit as st
4
 
5
- # Use a pipeline as a high-level helper
6
- from transformers import pipeline
7
-
8
- pipe_caption = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
9
- st.title('AI Storytelling for Kids')
10
-
11
- uploaded_file = st.file_uploader('Choose an image...', type=['jpg','png','jpeg'])
12
- image = Image.open(uploaded_file)
13
- # Use function for the implementation
14
 
15
  # function part
16
  # img2text
 
2
  from transformers import pipeline
3
  import streamlit as st
4
 
 
 
 
 
 
 
 
 
 
5
 
6
  # function part
7
  # img2text