Closed Aromal-vk closed 1 year ago
can you try this instead:
def index_post():
# Read the values from the form
original_text = request.form['text']
target_language = request. Form['language']
I was able to fix the error by adding an extra indentation
Great!
Describe the bug
error in sample code give in Exercise - Call Translator service in Build an AI web app by using Python and Flask module. error:
IndentationError: unexpected unindent
found in the part:
def index_post():
Read the values from the form
To Reproduce
Follow the instructions and copy the code from the module
Desktop
Additional context
Add any other context about the problem here.
🎓 Add a tag to this issue for your current education role: student, Student Ambassador or educator.
Student Ambassador