Spaces:
Running
Running
Update prompt_gen.py
Browse files- prompt_gen.py +2 -2
prompt_gen.py
CHANGED
@@ -12,8 +12,8 @@ os.environ["OPENAI_BASE_URL"] = "http://15.204.101.64:4000/v1"
|
|
12 |
|
13 |
|
14 |
def prompt_gen(advise, gender):
|
15 |
-
prompt =
|
16 |
-
trigger = "
|
17 |
if gender == "男":
|
18 |
prompt = na_prompt
|
19 |
trigger = "A Hanfu"
|
|
|
12 |
|
13 |
|
14 |
def prompt_gen(advise, gender):
|
15 |
+
prompt = nv_prompt
|
16 |
+
trigger = "a Hanfu"
|
17 |
if gender == "男":
|
18 |
prompt = na_prompt
|
19 |
trigger = "A Hanfu"
|