Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ from PIL import Image
|
|
5 |
import flux1_inpaint
|
6 |
import os
|
7 |
import numpy as np
|
|
|
|
|
8 |
|
9 |
def sanitize_prompt(prompt):
|
10 |
# Allow only alphanumeric characters, spaces, and basic punctuation
|
|
|
5 |
import flux1_inpaint
|
6 |
import os
|
7 |
import numpy as np
|
8 |
+
import shutil
|
9 |
+
shutil.rmtree("/home/user/app/.gradio/cached_examples/23")
|
10 |
|
11 |
def sanitize_prompt(prompt):
|
12 |
# Allow only alphanumeric characters, spaces, and basic punctuation
|