Bofandra commited on
Commit
af79189
1 Parent(s): 907b19d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,11 +5,11 @@ import pandas as pd
5
 
6
  def find(query):
7
  # transform query from user
8
- model = SentenceTransformer('use-cmlm-multilingual')
9
  encoded_query_text = model.encode(query)
10
 
11
  # get encoded quran text
12
- file = open('encoded_quran_cmlm.sav','rb')
13
  encoded_quran_text = pickle.load(file)
14
  file.close()
15
 
 
5
 
6
  def find(query):
7
  # transform query from user
8
+ model = SentenceTransformer('Bofandra/fine-tuning-use-cmlm-multilingual-quran-translation')
9
  encoded_query_text = model.encode(query)
10
 
11
  # get encoded quran text
12
+ file = open('encoded_quran_cmlm_finetuned.sav','rb')
13
  encoded_quran_text = pickle.load(file)
14
  file.close()
15