Spaces:
Paused
Paused
Commit
·
9ff1959
1
Parent(s):
9b498df
Update del.py
Browse files
del.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import shutil
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
-
def
|
| 5 |
txt = text
|
| 6 |
shutil.rmtree("./output")
|
| 7 |
return "Removed successfully..."
|
| 8 |
|
| 9 |
-
gr.Interface(
|
|
|
|
| 1 |
import shutil
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
+
def delt(text):
|
| 5 |
txt = text
|
| 6 |
shutil.rmtree("./output")
|
| 7 |
return "Removed successfully..."
|
| 8 |
|
| 9 |
+
gr.Interface(delt, "text","text").launch(debug=True)
|