Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -8,12 +8,7 @@ from dotenv import load_dotenv
|
|
| 8 |
|
| 9 |
load_dotenv()
|
| 10 |
|
| 11 |
-
|
| 12 |
-
print ("using OPENAI_API_KEY")
|
| 13 |
-
run_llm=run_openai
|
| 14 |
-
else:
|
| 15 |
-
print ("using glm from huggingface")
|
| 16 |
-
run_llm=run_glm
|
| 17 |
|
| 18 |
PROMPT_STYLE = get_prompt("PROMPT_STYLE")
|
| 19 |
PROMPT_TEXT = get_prompt("PROMPT_TEXT")
|
|
|
|
| 8 |
|
| 9 |
load_dotenv()
|
| 10 |
|
| 11 |
+
run_llm=run_glm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
PROMPT_STYLE = get_prompt("PROMPT_STYLE")
|
| 14 |
PROMPT_TEXT = get_prompt("PROMPT_TEXT")
|