File size: 186 Bytes
2faefa9
 
 
 
 
 
 
 
 
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)