KingNish commited on
Commit
ed05b1c
·
verified ·
1 Parent(s): 9f0af1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -151,13 +151,6 @@ def image_to_url(image_path):
151
  except Exception as e:
152
  return f"An error occurred: {e}"
153
 
154
- import requests
155
-
156
- # Replace with your file path
157
-
158
- response_json = response.json()
159
- print(response_json['files'][0]['url'])
160
-
161
  def together_image_to_image(image_numpy, prompt: str):
162
  """
163
  Transforms an image based on a text prompt using the Together AI API.
 
151
  except Exception as e:
152
  return f"An error occurred: {e}"
153
 
 
 
 
 
 
 
 
154
  def together_image_to_image(image_numpy, prompt: str):
155
  """
156
  Transforms an image based on a text prompt using the Together AI API.