Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
merve
/
taskmaster
like
5
Sleeping
App
Files
Files
Community
merve
HF staff
commited on
Jan 24, 2022
Commit
2108c19
•
1 Parent(s):
8080ad9
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+2
-1
app.py
CHANGED
Viewed
@@ -71,9 +71,10 @@ def find_sentences(query):
71
continue
72
else:
73
doc = corpus[idx]
74
75
break
76
-
return
doc
77
78
79
71
continue
72
else:
73
doc = corpus[idx]
74
+
return doc
75
76
break
77
+
return
corpus[corpus_id]
78
79
80