Spaces:
Sleeping
Sleeping
Ilyas KHIAT
commited on
Commit
·
7dc5361
1
Parent(s):
9c41670
delete docs
Browse files
main.py
CHANGED
|
@@ -176,7 +176,7 @@ def generate_answer(user_input: UserInput):
|
|
| 176 |
return StreamingResponse(stream_generator(answer,prompt_formated), media_type="application/json")
|
| 177 |
|
| 178 |
return {
|
| 179 |
-
"prompt":
|
| 180 |
"answer": answer,
|
| 181 |
"context": context,
|
| 182 |
}
|
|
|
|
| 176 |
return StreamingResponse(stream_generator(answer,prompt_formated), media_type="application/json")
|
| 177 |
|
| 178 |
return {
|
| 179 |
+
"prompt": prompt_formated,
|
| 180 |
"answer": answer,
|
| 181 |
"context": context,
|
| 182 |
}
|