diff --git a/app/app.py b/app/app.py index e3a809e..17282d2 100644 --- a/app/app.py +++ b/app/app.py @@ -496,7 +496,7 @@ def create_app(args): name: file type: file required: true - description: file to translate + description: File to translate - in: formData name: source schema: @@ -573,7 +573,7 @@ def create_app(args): file = request.files['file'] if not file: - abort(400, description="Invalid request: missing q parameter") + abort(400, description="Invalid request: missing file parameter") if not source_lang: abort(400, description="Invalid request: missing source parameter") if not target_lang: diff --git a/app/templates/index.html b/app/templates/index.html index 24bb0f0..a5d1d5d 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -105,7 +105,7 @@
[[ inputFile.name ]]
-