not-lain commited on
Commit
cc1edc1
Β·
1 Parent(s): ef4a283

🌘wπŸŒ–

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def prepare_prompt(query, retrieved_examples):
53
  return prompt, (titles, urls)
54
 
55
 
56
- # @spaces.GPU
57
  def talk(message, history):
58
  retrieved_examples = search(message)
59
  message, metadata = prepare_prompt(message, retrieved_examples)
 
53
  return prompt, (titles, urls)
54
 
55
 
56
+ @spaces.GPU(duration=150)
57
  def talk(message, history):
58
  retrieved_examples = search(message)
59
  message, metadata = prepare_prompt(message, retrieved_examples)