zhengr commited on
Commit
fb57d11
·
verified ·
1 Parent(s): 7bc4014

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -339,7 +339,7 @@ def get_prompt_by_row_new(stock, row):
339
 
340
  return head, filtered_news, basics
341
 
342
- @spaces.GPU()
343
  def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 5, weeks_before = 2):
344
 
345
  end_date = get_curday()
@@ -386,7 +386,7 @@ def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 5, weeks
386
 
387
  return info, prompt
388
 
389
- @spaces.GPU()
390
  def ask(symbol, weeks_before, withbasic):
391
 
392
  # load inference data
 
339
 
340
  return head, filtered_news, basics
341
 
342
+ #@spaces.GPU()
343
  def get_all_prompts_online(symbol, with_basics=True, max_news_perweek = 5, weeks_before = 2):
344
 
345
  end_date = get_curday()
 
386
 
387
  return info, prompt
388
 
389
+ #@spaces.GPU()
390
  def ask(symbol, weeks_before, withbasic):
391
 
392
  # load inference data