MarcosAcv commited on
Commit
56e16a4
·
1 Parent(s): 40aab9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
 
 
 
4
  def image2text(url):
5
  image_to_text_pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
6
  text = image_to_text_pipe(url)[0]['generated_text']
 
1
  import streamlit as st
2
  from transformers import pipeline
3
 
4
+ print('I am alive!')
5
+
6
  def image2text(url):
7
  image_to_text_pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
8
  text = image_to_text_pipe(url)[0]['generated_text']