From b919f2dcabc8dcba41f7e309b2d4eccd8cc0d87e Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 13 Oct 2023 19:56:39 -0600 Subject: ooga chaga --- transcribe_call.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 transcribe_call.py (limited to 'transcribe_call.py') diff --git a/transcribe_call.py b/transcribe_call.py new file mode 100644 index 0000000..fb38171 --- /dev/null +++ b/transcribe_call.py @@ -0,0 +1,19 @@ +from dotenv import load_dotenv +from flask import Flask +from twilio.twiml.voice_response import VoiceResponse + +load_dotenv() + + + + +app = Flask(__name__) + +@app.route("/answer", methods=['GET', 'POST']) +def voice(): + response = VoiceResponse() + response.say('Hello world, and thank you for your call from the Flask application.') + return str(response) + +if __name__ == "__main__": + app.run(debug=True, port=6789, host="0.0.0.0") -- cgit v1.2.3