Spaces:
Runtime error
Runtime error
Update pages/0_GoJourney.py
Browse files- pages/0_GoJourney.py +1 -1
pages/0_GoJourney.py
CHANGED
@@ -152,7 +152,7 @@ def main_midjourney(submitted, prompt, uid, secret_key, seed):
|
|
152 |
task_response = fetch_GoJourney(task_id)
|
153 |
if task_response["status"] == "finished":
|
154 |
status.update(label="Task finished", state="complete")
|
155 |
-
img_url = task_response["task_result"]["
|
156 |
st.image(
|
157 |
img_url, use_column_width=True, output_format="PNG"
|
158 |
)
|
|
|
152 |
task_response = fetch_GoJourney(task_id)
|
153 |
if task_response["status"] == "finished":
|
154 |
status.update(label="Task finished", state="complete")
|
155 |
+
img_url = task_response["task_result"]["discord_image_url"]
|
156 |
st.image(
|
157 |
img_url, use_column_width=True, output_format="PNG"
|
158 |
)
|