uyen13 commited on
Commit
efbfd3b
·
1 Parent(s): 95e2ab5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ app = Flask(__name__)
10
  @app.route("/")
11
  def index():
12
  return jsonify({"output": ""})
13
- @app.route("/<text>")
14
  def t5(text):
15
  prompt_template = """Write a concise summary of the following around 450 words:
16
  "{text}"
 
10
  @app.route("/")
11
  def index():
12
  return jsonify({"output": ""})
13
+ @app.route("/<text>",methods=["GET"])
14
  def t5(text):
15
  prompt_template = """Write a concise summary of the following around 450 words:
16
  "{text}"