Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -224,12 +224,12 @@ def construct_prompt(ticker, curday, n_weeks, use_basics):
|
|
224 |
data = get_stock_data(ticker, steps)
|
225 |
data = get_news(ticker, data)
|
226 |
data['Basics'] = [json.dumps({})] * len(data)
|
227 |
-
print(data)
|
228 |
|
229 |
info, prompt = get_all_prompts_online(ticker, data, curday, use_basics)
|
230 |
|
231 |
prompt = B_INST + B_SYS + SYSTEM_PROMPT + E_SYS + prompt + E_INST
|
232 |
-
print(prompt)
|
233 |
|
234 |
return info, prompt
|
235 |
|
|
|
224 |
data = get_stock_data(ticker, steps)
|
225 |
data = get_news(ticker, data)
|
226 |
data['Basics'] = [json.dumps({})] * len(data)
|
227 |
+
# print(data)
|
228 |
|
229 |
info, prompt = get_all_prompts_online(ticker, data, curday, use_basics)
|
230 |
|
231 |
prompt = B_INST + B_SYS + SYSTEM_PROMPT + E_SYS + prompt + E_INST
|
232 |
+
# print(prompt)
|
233 |
|
234 |
return info, prompt
|
235 |
|