Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -45,7 +45,7 @@ def home_api():
|
|
| 45 |
data = request.get_json()
|
| 46 |
user_query = data['user_question']
|
| 47 |
print(user_query)
|
| 48 |
-
return {"
|
| 49 |
|
| 50 |
@app.route('/api/chat', methods=['POST'])
|
| 51 |
def chat():
|
|
|
|
| 45 |
data = request.get_json()
|
| 46 |
user_query = data['user_question']
|
| 47 |
print(user_query)
|
| 48 |
+
return {"Message":"Flask Home API Deploy Success on HF"}
|
| 49 |
|
| 50 |
@app.route('/api/chat', methods=['POST'])
|
| 51 |
def chat():
|