neha-ai-playground commited on
Commit
30fc2e2
·
1 Parent(s): 3c25726

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ if Path(".env").is_file():
9
  st.set_page_config(layout="wide")
10
  HF_TOKEN = os.getenv("HF_TOKEN")
11
 
12
- def img2Text(url)
13
  image_to_text = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
14
  text = image_to_text(url)
15
  print(text)
 
9
  st.set_page_config(layout="wide")
10
  HF_TOKEN = os.getenv("HF_TOKEN")
11
 
12
+ def img2Text(url):
13
  image_to_text = pipeline("image-to-text", model="Salesforce/blip-image-captioning-large")
14
  text = image_to_text(url)
15
  print(text)