zhengr commited on
Commit
ca1e213
·
verified ·
1 Parent(s): b57aec7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -345,6 +345,7 @@ def get_prompt_by_row_new(stock, row):
345
 
346
  return head, filtered_news, basics
347
 
 
348
  def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 3, weeks_before = 2):
349
 
350
  end_date = get_curday()
@@ -391,7 +392,6 @@ def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 3, weeks
391
 
392
  return info, prompt
393
 
394
- @spaces.GPU
395
  def ask(symbol, weeks_before, withbasic):
396
 
397
  # load inference data
 
345
 
346
  return head, filtered_news, basics
347
 
348
+ @spaces.GPU
349
  def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 3, weeks_before = 2):
350
 
351
  end_date = get_curday()
 
392
 
393
  return info, prompt
394
 
 
395
  def ask(symbol, weeks_before, withbasic):
396
 
397
  # load inference data