yangtb24 commited on
Commit
c07387b
·
verified ·
1 Parent(s): 2a69bae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -656,7 +656,7 @@ def handsome_chat_completions():
656
  "index": 0,
657
  "message": {
658
  "role": "assistant",
659
- "content": "awa", # Directly return the URL in content
660
  },
661
  "finish_reason": "length",
662
  }
 
656
  "index": 0,
657
  "message": {
658
  "role": "assistant",
659
+ "content": image_url if image_url else "Failed to generate image", # Directly return the URL in content
660
  },
661
  "finish_reason": "length",
662
  }