Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -346,7 +346,6 @@ def get_prompt_by_row_new(stock, row):
|
|
346 |
|
347 |
return head, filtered_news, basics
|
348 |
|
349 |
-
@spaces.GPU
|
350 |
def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 5, weeks_before = 2):
|
351 |
|
352 |
end_date = get_curday()
|
@@ -393,6 +392,7 @@ def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 5, weeks
|
|
393 |
|
394 |
return info, prompt
|
395 |
|
|
|
396 |
def ask(symbol, weeks_before, withbasic):
|
397 |
|
398 |
# load inference data
|
|
|
346 |
|
347 |
return head, filtered_news, basics
|
348 |
|
|
|
349 |
def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 5, weeks_before = 2):
|
350 |
|
351 |
end_date = get_curday()
|
|
|
392 |
|
393 |
return info, prompt
|
394 |
|
395 |
+
@spaces.GPU
|
396 |
def ask(symbol, weeks_before, withbasic):
|
397 |
|
398 |
# load inference data
|