Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
roxky/g4f-demo2
cutycat2000x
/
g4f-demo
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
g4f-demo
/
clean.py
roxky
Disable access log
ec410ac
16 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
175 Bytes
import
os
for
root, _, files
in
os.walk(
"./generated_images"
):
for
file
in
files:
if
"."
not
in
file:
os.rename(file,
f"./generated_images/
{file}
.jpg"
)