Spaces:
Runtime error
Runtime error
Commit
·
81ecd24
1
Parent(s):
d0d7c4f
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from PIL import Image
|
|
5 |
import io
|
6 |
|
7 |
def generate_image(prompt):
|
8 |
-
url = "https://
|
9 |
response = requests.get(url, timeout=999)
|
10 |
data = response.json()
|
11 |
base64_image = data["image"]
|
|
|
5 |
import io
|
6 |
|
7 |
def generate_image(prompt):
|
8 |
+
url = "https://46dc2628-cfb9-4837-b979-2dd9940ee82e.id.repl.co/generate_image?prompt="+prompt
|
9 |
response = requests.get(url, timeout=999)
|
10 |
data = response.json()
|
11 |
base64_image = data["image"]
|