Duplicated from imseldrith/DeepFakeAI
cc6875e 9ff1959 cc6875e 9ff1959
1
2
3
4
5
6
7
8
9
import shutil import gradio as gr def delt(text): txt = text shutil.rmtree("./output") return "Removed successfully..." gr.Interface(delt, "text","text").launch(debug=True)