Spaces:
Runtime error
Runtime error
Download del.py from roman2000/DeepFakeAI: direct link, hf CLI and curl.
- Browser
- Download file 186 Bytes
-
https://huggingface.co/spaces/roman2000/DeepFakeAI/resolve/main/del.py
- Command line
-
hf download hf://spaces/roman2000/DeepFakeAI/del.py
-
curl -L -o del.py https://huggingface.co/spaces/roman2000/DeepFakeAI/resolve/main/del.py
186 Bytes
| 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) |