Change improve endpoint name to improve-title
This commit is contained in:
parent
0c5fb9de17
commit
32f7298517
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ app.add_middleware(
|
|||
)
|
||||
|
||||
|
||||
@app.get("/improve")
|
||||
@app.get("/improve-title")
|
||||
def improve_headline(content: str):
|
||||
return rewrite_title_with_groq(content)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue