Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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. "
|