DeepFakeAI / del.py
imseldrith's picture
Create del.py
cc6875e
raw
history blame
184 Bytes
import shutil
import gradio as gr
def del(text):
txt = text
shutil.rmtree("./output")
return "Removed successfully..."
gr.Interface(del, "text","text").launch(debug=True)