eliwill commited on
Commit
02c63bd
·
1 Parent(s): bf09a10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def get_similar_quotes(philosopher, question):
51
  similar_sentences = [df['quote'][i] for i in ind]
52
  top4quotes = pd.DataFrame(data = similar_sentences, columns=["Quotes"], index=range(1,5))
53
  top4quotes['Quotes'] = top4quotes['Quotes'].str[:-1].str[:250] + "..."
54
- return top3quotes
55
 
56
  def main(question, philosopher):
57
  out_image = "marcus-aurelius.jpg"
 
51
  similar_sentences = [df['quote'][i] for i in ind]
52
  top4quotes = pd.DataFrame(data = similar_sentences, columns=["Quotes"], index=range(1,5))
53
  top4quotes['Quotes'] = top4quotes['Quotes'].str[:-1].str[:250] + "..."
54
+ return top4quotes
55
 
56
  def main(question, philosopher):
57
  out_image = "marcus-aurelius.jpg"