Spaces:
Build error
Build error
Update pages/2_Twitter_GPT_Search.py
Browse files
pages/2_Twitter_GPT_Search.py
CHANGED
|
@@ -76,7 +76,9 @@ try:
|
|
| 76 |
text=f"Loading {model} embedding model and Generating Response..."
|
| 77 |
):
|
| 78 |
|
| 79 |
-
|
|
|
|
|
|
|
| 80 |
|
| 81 |
|
| 82 |
references = [doc.page_content for doc in tweets['source_documents']]
|
|
|
|
| 76 |
text=f"Loading {model} embedding model and Generating Response..."
|
| 77 |
):
|
| 78 |
|
| 79 |
+
vectorstore = create_vectorstore(tweets,model)
|
| 80 |
+
|
| 81 |
+
tweets = embed_tweets(search_input,prompt,vectorstore)
|
| 82 |
|
| 83 |
|
| 84 |
references = [doc.page_content for doc in tweets['source_documents']]
|