Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def format_prompt(prompt,retrieved_documents,k):
|
|
62 |
return PROMPT
|
63 |
|
64 |
|
65 |
-
@spaces.GPU
|
66 |
def talk(prompt,history=[]):
|
67 |
k = 1 # number of retrieved documents
|
68 |
scores , retrieved_documents = search(prompt, k)
|
|
|
62 |
return PROMPT
|
63 |
|
64 |
|
65 |
+
@spaces.GPU
|
66 |
def talk(prompt,history=[]):
|
67 |
k = 1 # number of retrieved documents
|
68 |
scores , retrieved_documents = search(prompt, k)
|