imseldrith commited on
Commit
cc6875e
1 Parent(s): 1431b79

Create del.py

Browse files
Files changed (1) hide show
  1. del.py +9 -0
del.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import shutil
2
+ import gradio as gr
3
+
4
+ def del(text):
5
+ txt = text
6
+ shutil.rmtree("./output")
7
+ return "Removed successfully..."
8
+
9
+ gr.Interface(del, "text","text").launch(debug=True)