Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
replace
#16793
by
Juno360219
- opened
app.py
CHANGED
@@ -16,7 +16,7 @@ def infer(prompt, negative, scale):
|
|
16 |
global is_gpu_busy
|
17 |
for filter in word_list:
|
18 |
if re.search(rf"\b{filter}\b", prompt):
|
19 |
-
|
20 |
|
21 |
images = []
|
22 |
url = os.getenv('JAX_BACKEND_URL')
|
|
|
16 |
global is_gpu_busy
|
17 |
for filter in word_list:
|
18 |
if re.search(rf"\b{filter}\b", prompt):
|
19 |
+
|
20 |
|
21 |
images = []
|
22 |
url = os.getenv('JAX_BACKEND_URL')
|