Spaces:
Running
Running
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) |