Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from openai import OpenAI
|
|
| 10 |
# im1 = Image.open(image1)
|
| 11 |
# im1.save(r'new_name.png')
|
| 12 |
# return im1
|
| 13 |
-
def create_var(image_path, open_api_key)
|
| 14 |
client = OpenAI(api_key = open_api_key)
|
| 15 |
# image2 = con_image("white_tile.jpg")
|
| 16 |
response = client.images.create_variation(
|
|
|
|
| 10 |
# im1 = Image.open(image1)
|
| 11 |
# im1.save(r'new_name.png')
|
| 12 |
# return im1
|
| 13 |
+
def create_var(image_path, open_api_key):
|
| 14 |
client = OpenAI(api_key = open_api_key)
|
| 15 |
# image2 = con_image("white_tile.jpg")
|
| 16 |
response = client.images.create_variation(
|