Spaces:
Runtime error
Runtime error
endpoints(til): rollback minor changes
Browse files- endpoints.py +2 -2
endpoints.py
CHANGED
|
@@ -39,8 +39,8 @@ app.add_middleware(
|
|
| 39 |
|
| 40 |
@app.post("/til_feedback", tags=["til_feedback"])
|
| 41 |
async def til_feedback_kickoff(content: List[str]) -> TilFeedbackResponse:
|
| 42 |
-
separator = "\n "
|
| 43 |
-
content[0] = " " + content[0]
|
| 44 |
inputs = {"content": separator.join(content)}
|
| 45 |
result = TilCrew().kickoff(inputs)
|
| 46 |
return result
|
|
|
|
| 39 |
|
| 40 |
@app.post("/til_feedback", tags=["til_feedback"])
|
| 41 |
async def til_feedback_kickoff(content: List[str]) -> TilFeedbackResponse:
|
| 42 |
+
separator = "\n* "
|
| 43 |
+
content[0] = "* " + content[0]
|
| 44 |
inputs = {"content": separator.join(content)}
|
| 45 |
result = TilCrew().kickoff(inputs)
|
| 46 |
return result
|