toilaluan commited on
Commit
c0f3590
1 Parent(s): 99bebe0

Update pages/0_GoJourney.py

Browse files
Files changed (1) hide show
  1. 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"]["image_url"]
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
  )