Spaces:
Runtime error
Runtime error
πwπ
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def prepare_prompt(query, retrieved_examples):
|
|
53 |
return prompt, (titles, urls)
|
54 |
|
55 |
|
56 |
-
|
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)
|