Spaces:
Running
Running
Update feifeilib/feifeichat.py
Browse files- feifeilib/feifeichat.py +1 -1
feifeilib/feifeichat.py
CHANGED
@@ -38,7 +38,7 @@ def feifeiprompt(feifei_select=True, message_text="", history=""):
|
|
38 |
message_text = message_text.replace("draw", "")
|
39 |
message_text = f"提示词是'{message_text}',根据提示词帮我生成一张高质量照片的一句话英文回复"
|
40 |
system_prompt = {"role": "system", "content": feifei_photo}
|
41 |
-
|
42 |
input_prompt = [system_prompt] + [user_input_part]
|
43 |
return input_prompt
|
44 |
if feifei_select:
|
|
|
38 |
message_text = message_text.replace("draw", "")
|
39 |
message_text = f"提示词是'{message_text}',根据提示词帮我生成一张高质量照片的一句话英文回复"
|
40 |
system_prompt = {"role": "system", "content": feifei_photo}
|
41 |
+
user_input_part = {"role": "user", "content": str(message_text)}
|
42 |
input_prompt = [system_prompt] + [user_input_part]
|
43 |
return input_prompt
|
44 |
if feifei_select:
|