Pranav0gp commited on
Commit
3b89f07
·
1 Parent(s): 48d0863

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -3,8 +3,6 @@ API_URL = "https://api-inference.huggingface.co/models/Salesforce/blip-image-cap
3
  # Helper functions
4
  import requests, json
5
  import io
6
- import IPython.display
7
- from PIL import Image
8
  import base64
9
  #Image-to-text endpoint
10
  def get_completion(inputs, parameters=None, ENDPOINT_URL=API_URL):
 
3
  # Helper functions
4
  import requests, json
5
  import io
 
 
6
  import base64
7
  #Image-to-text endpoint
8
  def get_completion(inputs, parameters=None, ENDPOINT_URL=API_URL):