Automatically changes the tense of any English text. Inputs:
- Input: "" <<< text you want to put into another tense.
- Tense: "" <<< either future, past, present Returns:
- Sentence in target tense.
sudo apt-get install python3-pip
sudo pip3 install virtualenv
Run 'bash start.sh'
Test app with 'python3 app.py'
Test server with 'uvicorn main:app'
{
"input": "The sun is shining.",
"tense": "past",
"output": "string"
}
{
"output": "The sun was shining."
}
python3 -m pytest
python3 app.py
uvicorn main:app
This server is based on tenseflow by Ben Dichter.