mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
refactor: Remove unneded line
Refs: OPS-12
This commit is contained in:
parent
7c304eaa3c
commit
fb5c28c891
1 changed files with 0 additions and 1 deletions
|
|
@ -52,7 +52,6 @@ def prompt_view():
|
||||||
|
|
||||||
@app.route("/api/v1/haiku", methods=['POST'])
|
@app.route("/api/v1/haiku", methods=['POST'])
|
||||||
def generate_haiku():
|
def generate_haiku():
|
||||||
prompt = "a"
|
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
json_data = request.get_json()
|
json_data = request.get_json()
|
||||||
prompt = json_data["prompt"]
|
prompt = json_data["prompt"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue