Update app.py
Browse files18 unmodified lines192021222223242526194 unmodified lines22122222322422522622722818 unmodified linesimport base64import threadingfrom pytube import YouTubeapp = dash.Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
print("Script started")
# Check if CUDA is available and set the devicedevice = "cuda" if torch.cuda.is_available() else "cpu"194 unmodified lines else: return transcript, None
print("Reached end of script definitions")
if __name__ == '__main__': print("Starting the Dash application...") app.run(debug=True, host='0.0.0.0', port=7860)app.py+3-1