Skip to content

Commit bb06a11

Browse files
committed
install gdown
1 parent fd44b69 commit bb06a11

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
@app.route("/", methods=["GET", "POST"])
1212
def index():
1313
prediction = None
14+
if request.method == "GET":
15+
return {"svc_Texpose is alive :) "}
16+
1417
if request.method == "POST":
1518
input_text = request.form.get("text", "")
1619
if input_text.strip(): # input if not empty then proceed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ torch
55
transformers
66
numpy
77
flask
8+
gdown

0 commit comments

Comments
 (0)