Spaces:
Sleeping
Sleeping
Update clothGen.py
Browse files- clothGen.py +2 -0
clothGen.py
CHANGED
@@ -14,6 +14,8 @@ na_prompt_file = pd.read_excel('汉服-男词库.xlsx')
|
|
14 |
nv_prompt = nv_prompt_file.to_string(index=False)
|
15 |
na_prompt = na_prompt_file.to_string(index=False)
|
16 |
save_directory = "downloads"
|
|
|
|
|
17 |
|
18 |
|
19 |
def prompt_nan(prompt):
|
|
|
14 |
nv_prompt = nv_prompt_file.to_string(index=False)
|
15 |
na_prompt = na_prompt_file.to_string(index=False)
|
16 |
save_directory = "downloads"
|
17 |
+
os.environ["OPENAI_API_KEY"] = "sk-HGnXvbVEeSkolzhm3423741621A54f39A3225247AcEcD338"
|
18 |
+
os.environ["OPENAI_BASE_URL"] = "http://15.204.101.64:4000/v1"
|
19 |
|
20 |
|
21 |
def prompt_nan(prompt):
|