Docfile commited on
Commit
04d87d9
·
verified ·
1 Parent(s): b2bdf79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ def index():
138
  target_language = request.form['target_language']
139
  translated_text = translate(input_text, source_language, target_language)
140
  return jsonify({'translated_text': translated_text})
141
- return render_template('index.html', source_languages=source_languages, target_languages=target_languages)
142
 
143
  if __name__ == '__main__':
144
  app.run(debug=True)
 
138
  target_language = request.form['target_language']
139
  translated_text = translate(input_text, source_language, target_language)
140
  return jsonify({'translated_text': translated_text})
141
+ return render_template('traduction.html', source_languages=source_languages, target_languages=target_languages)
142
 
143
  if __name__ == '__main__':
144
  app.run(debug=True)