Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,6 @@ def logout():
|
|
110 |
return redirect(url_for('index'))
|
111 |
|
112 |
@app.route('/generate', methods=['POST'])
|
113 |
-
@login_required
|
114 |
def generate_content():
|
115 |
if not cohere_client:
|
116 |
return jsonify({'error': 'Cohere API key not configured'}), 500
|
|
|
110 |
return redirect(url_for('index'))
|
111 |
|
112 |
@app.route('/generate', methods=['POST'])
|
|
|
113 |
def generate_content():
|
114 |
if not cohere_client:
|
115 |
return jsonify({'error': 'Cohere API key not configured'}), 500
|