Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
merve
/
taskmaster
Like
5
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
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