Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def generate_image(prompt, width=1024, height=1024, guidance_scale=7.5):
|
|
55 |
|
56 |
# Extract the image URL from the result
|
57 |
image_path = result[0][0]["image"]
|
58 |
-
image_url = "https://playgroundai-playground-v2-5.hf.space/--replicas/
|
59 |
|
60 |
# Fetch and display the result image
|
61 |
response = requests.get(image_url)
|
|
|
55 |
|
56 |
# Extract the image URL from the result
|
57 |
image_path = result[0][0]["image"]
|
58 |
+
image_url = "https://playgroundai-playground-v2-5.hf.space/--replicas/tjkvn/file=" + image_path
|
59 |
|
60 |
# Fetch and display the result image
|
61 |
response = requests.get(image_url)
|