Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -181,7 +181,7 @@ def home():
|
|
181 |
return render_template_string(html_template)
|
182 |
|
183 |
@app.route("/generate", methods=["POST"])
|
184 |
-
@limiter.limit("5
|
185 |
def generate():
|
186 |
parent_name = request.form["parent_name"]
|
187 |
child_name = request.form["child_name"]
|
|
|
181 |
return render_template_string(html_template)
|
182 |
|
183 |
@app.route("/generate", methods=["POST"])
|
184 |
+
@limiter.limit("5/minute")
|
185 |
def generate():
|
186 |
parent_name = request.form["parent_name"]
|
187 |
child_name = request.form["child_name"]
|