Update main.py
Browse files
main.py
CHANGED
@@ -24,6 +24,11 @@ load_dotenv()
|
|
24 |
|
25 |
app = Flask(__name__)
|
26 |
|
|
|
|
|
|
|
|
|
|
|
27 |
@app.route("/predict", methods=["POST"])
|
28 |
def bot(json_table, user_question):
|
29 |
load_dotenv()
|
|
|
24 |
|
25 |
app = Flask(__name__)
|
26 |
|
27 |
+
@app.route("/", methods=["GET"])
|
28 |
+
def home():
|
29 |
+
|
30 |
+
return "Hello Qx!"
|
31 |
+
|
32 |
@app.route("/predict", methods=["POST"])
|
33 |
def bot(json_table, user_question):
|
34 |
load_dotenv()
|