Spaces:
Running
on
Zero
Running
on
Zero
πwπ
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def format_prompt(prompt,retrieved_documents,k):
|
|
63 |
|
64 |
|
65 |
@spaces.GPU(duration=150)
|
66 |
-
def talk(
|
67 |
k = 1 # number of retrieved documents
|
68 |
scores , retrieved_documents = search(prompt, k)
|
69 |
formatted_prompt = format_prompt(prompt,retrieved_documents,k)
|
|
|
63 |
|
64 |
|
65 |
@spaces.GPU(duration=150)
|
66 |
+
def talk(prompt,history):
|
67 |
k = 1 # number of retrieved documents
|
68 |
scores , retrieved_documents = search(prompt, k)
|
69 |
formatted_prompt = format_prompt(prompt,retrieved_documents,k)
|