adi-123 commited on
Commit
5350da8
·
verified ·
1 Parent(s): a5e8b58

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +7 -0
utils.py CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  # Image-to-text
2
  def img2txt(url: str) -> str:
3
  print("Initializing captioning model...")
 
1
+ import os
2
+ import streamlit as st
3
+ import requests
4
+ from transformers import pipeline
5
+ from typing import Dict
6
+ from together import Together
7
+
8
  # Image-to-text
9
  def img2txt(url: str) -> str:
10
  print("Initializing captioning model...")