import os #line:1 from flask import Flask ,render_template ,request ,jsonify #line:3 from flask_socketio import SocketIO #line:4 app =Flask (__name__ )#line:6 socketio =SocketIO (app )#line:7 @app .route ('/')#line:9 def index ():#line:10 return render_template ('index.html')#line:11 @socketio .on ('audio_data')#line:13 def handle_audio (O00OOOO0O0OOOO0O0 ):#line:14 OO0000O0O0O0OO0OO =process_audio (O00OOOO0O0OOOO0O0 )#line:17 socketio .emit ('transcription',OO0000O0O0O0OO0OO )#line:18 print (OO0000O0O0O0OO0OO )#line:19 def process_audio (OO00O000OOOO0OOO0 ):#line:21 return "Texto:" + OO00O000OOOO0OOO0 #line:24 if __name__ =='__main__':#line:26 socketio .run (app ,host ='0.0.0.0',port =7860 )