Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -178,12 +178,12 @@ def run_gpt_model(prompt: str, api_key: str) -> str:
|
|
| 178 |
"You speak concisely and your output should use line breaks after each sentence to keep the text within a readable width. "
|
| 179 |
"Your answer format should be as follows:\n\n[Short Company Description]\n\n[Positive Signals]:\n1. ...\n\n[Potential Concerns]:\n1. ...\n\n[Prediction & Analysis]:\n...\n")
|
| 180 |
|
| 181 |
-
|
| 182 |
"role":"system",
|
| 183 |
"content": (system_prompt)
|
| 184 |
}
|
| 185 |
|
| 186 |
-
|
| 187 |
"role":"user",
|
| 188 |
"content":prompt
|
| 189 |
}
|
|
|
|
| 178 |
"You speak concisely and your output should use line breaks after each sentence to keep the text within a readable width. "
|
| 179 |
"Your answer format should be as follows:\n\n[Short Company Description]\n\n[Positive Signals]:\n1. ...\n\n[Potential Concerns]:\n1. ...\n\n[Prediction & Analysis]:\n...\n")
|
| 180 |
|
| 181 |
+
system = {
|
| 182 |
"role":"system",
|
| 183 |
"content": (system_prompt)
|
| 184 |
}
|
| 185 |
|
| 186 |
+
user = {
|
| 187 |
"role":"user",
|
| 188 |
"content":prompt
|
| 189 |
}
|