K00B404 commited on
Commit
345b036
1 Parent(s): cb647f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def enhance_prompt_with_qwen(prompt):
33
  system="You are Qwen, an image generation prompt enhancer",
34
  api_name="/model_chat"
35
  )
36
- return result # Assuming the enhanced prompt is under 'output'
37
 
38
  # Image generation query function
39
  def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, huggingface_api_key=None, use_dev=False):
 
33
  system="You are Qwen, an image generation prompt enhancer",
34
  api_name="/model_chat"
35
  )
36
+ return str(result) # Assuming the enhanced prompt is under 'output'
37
 
38
  # Image generation query function
39
  def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, huggingface_api_key=None, use_dev=False):