zhengr commited on
Commit
e5af708
·
verified ·
1 Parent(s): 88cb0d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -332,7 +332,7 @@ def get_prompt_by_row_new(stock, row):
332
 
333
  return head, filtered_news, basics
334
 
335
-
336
  def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 5, weeks_before = 2):
337
 
338
  end_date = get_curday()
@@ -379,7 +379,6 @@ def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 5, weeks
379
 
380
  return info, prompt
381
 
382
- @spaces.GPU
383
  def ask(symbol, weeks_before, withbasic):
384
 
385
  # load inference data
 
332
 
333
  return head, filtered_news, basics
334
 
335
+ @spaces.GPU
336
  def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 5, weeks_before = 2):
337
 
338
  end_date = get_curday()
 
379
 
380
  return info, prompt
381
 
 
382
  def ask(symbol, weeks_before, withbasic):
383
 
384
  # load inference data