yichenchenchen commited on
Commit
189b26e
·
verified ·
1 Parent(s): 6ff6267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def extract_assistant_reply(full_text):
68
  return full_text.replace("<|im_end|>", "").strip()
69
 
70
 
71
- def on_submit(history, user_msg, img_path, mode, infer_steps, cfg_scale, model_version='sd3.5-512', seed=3221):
72
  user_msg = user_msg.strip()
73
  updated_history = history + [(user_msg, None)]
74
  edit_tip = "✅ You can continue editing this image by switching the mode to 'Edit Image' and entering your instruction. "
 
68
  return full_text.replace("<|im_end|>", "").strip()
69
 
70
 
71
+ def on_submit(history, user_msg, img_path, mode, infer_steps, cfg_scale, model_version='sd3.5-512', seed=42):
72
  user_msg = user_msg.strip()
73
  updated_history = history + [(user_msg, None)]
74
  edit_tip = "✅ You can continue editing this image by switching the mode to 'Edit Image' and entering your instruction. "