Spaces:
Sleeping
Sleeping
Commit
·
74255a6
1
Parent(s):
2ae3da8
check
Browse files- main.py +1 -0
- resume.txt +1 -1
main.py
CHANGED
|
@@ -56,6 +56,7 @@ class Question(BaseModel):
|
|
| 56 |
@app.post("/predict")
|
| 57 |
async def predict(question: Question):
|
| 58 |
context = retrieve_context(question.query)
|
|
|
|
| 59 |
result = qa_pipeline(
|
| 60 |
question=question.query,
|
| 61 |
context=context
|
|
|
|
| 56 |
@app.post("/predict")
|
| 57 |
async def predict(question: Question):
|
| 58 |
context = retrieve_context(question.query)
|
| 59 |
+
print("🔍 Retrieved chunks:\n", retrieve_context(question.query))
|
| 60 |
result = qa_pipeline(
|
| 61 |
question=question.query,
|
| 62 |
context=context
|
resume.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
== Personal Information ==
|
| 2 |
Name: Rence Abishek
|
| 3 |
Location: Salem, TN, India
|
| 4 |
-
Email: renceabishek@gmail.
|
| 5 |
Website: https://www.renceabishek.in/
|
| 6 |
Phone number: 9629766512
|
| 7 |
|
|
|
|
| 1 |
== Personal Information ==
|
| 2 |
Name: Rence Abishek
|
| 3 |
Location: Salem, TN, India
|
| 4 |
+
Email: renceabishek@gmail.com
|
| 5 |
Website: https://www.renceabishek.in/
|
| 6 |
Phone number: 9629766512
|
| 7 |
|