Update app.py
Browse files18 unmodified lines1920212223242526192 unmodified lines21922022122022222322422522622718 unmodified linesimport base64import threadingfrom pytube import YouTubeapp = dash.Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
# Check if CUDA is available and set the devicedevice = "cuda" if torch.cuda.is_available() else "cpu"192 unmodified lines ]) ]), download_data else: return transcript, None return transcript, None
if __name__ == '__main__': print("Starting the Dash application...") app.run(debug=True, host='0.0.0.0', port=7860) print("Dash application has finished running.")app.py+8-1