nickmuchi commited on
Commit
89553ed
1 Parent(s): 3a38384

Update pages/2_Twitter_GPT_Search.py

Browse files
Files changed (1) hide show
  1. pages/2_Twitter_GPT_Search.py +3 -3
pages/2_Twitter_GPT_Search.py CHANGED
@@ -68,13 +68,13 @@ try:
68
 
69
  if search_input:
70
 
71
- embedding_model = bi_enc_dict[sbert_model_name]
72
 
73
  with st.spinner(
74
- text=f"Loading {embedding_model} embedding model and Generating Response..."
75
  ):
76
 
77
- tweets = process_tweets(file,sbert_model_name,search_input)
78
 
79
 
80
  references = [doc.page_content for doc in tweets['source_documents']]
 
68
 
69
  if search_input:
70
 
71
+ model = bi_enc_dict[sbert_model_name]
72
 
73
  with st.spinner(
74
+ text=f"Loading {model} embedding model and Generating Response..."
75
  ):
76
 
77
+ tweets = process_tweets(file,model,search_input)
78
 
79
 
80
  references = [doc.page_content for doc in tweets['source_documents']]