E-slam commited on
Commit
e4f6ea4
·
verified ·
1 Parent(s): e31e0bb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -2
main.py CHANGED
@@ -78,7 +78,6 @@ def e_search(query):
78
  book_data.append({'Book': book, 'Pages': [page for page, _ in pages], 'Scores': [score for _, score in pages], 'Count': info['Count']})
79
  df = pd.DataFrame(book_data)
80
  df = df.head(12)
81
- print(j_query)
82
 
83
  def get_top_two(row):
84
  sorted_row = sorted(zip(row['Pages'], row['Scores']), key=lambda x: x[1], reverse=True)
@@ -94,7 +93,6 @@ def e_search(query):
94
  async def main(page: ft.Page):
95
  async def e_search_book(query):
96
  book_name = book_btn.text
97
- print(book_name)
98
 
99
  query = remove_arabic_diacritics(query)
100
  query = normalize_arabic(query)
 
78
  book_data.append({'Book': book, 'Pages': [page for page, _ in pages], 'Scores': [score for _, score in pages], 'Count': info['Count']})
79
  df = pd.DataFrame(book_data)
80
  df = df.head(12)
 
81
 
82
  def get_top_two(row):
83
  sorted_row = sorted(zip(row['Pages'], row['Scores']), key=lambda x: x[1], reverse=True)
 
93
  async def main(page: ft.Page):
94
  async def e_search_book(query):
95
  book_name = book_btn.text
 
96
 
97
  query = remove_arabic_diacritics(query)
98
  query = normalize_arabic(query)