Spaces:
Runtime error
Runtime error
Commit ·
b1687d7
1
Parent(s): 29bd6cc
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def index():
|
|
| 12 |
|
| 13 |
app = Flask(__name__)
|
| 14 |
@app.route('/api/chat', methods=['POST'])
|
| 15 |
-
|
| 16 |
incoming = request.get_json()
|
| 17 |
print(incoming)
|
| 18 |
initial_response="hello"
|
|
|
|
| 12 |
|
| 13 |
app = Flask(__name__)
|
| 14 |
@app.route('/api/chat', methods=['POST'])
|
| 15 |
+
def chat():
|
| 16 |
incoming = request.get_json()
|
| 17 |
print(incoming)
|
| 18 |
initial_response="hello"
|