Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -69,6 +69,7 @@ def read_content(file_path: str) -> str:
|
|
69 |
|
70 |
return content
|
71 |
|
|
|
72 |
def predict(dict, prompt="", negative_prompt="", guidance_scale=5, steps=30, strength=1.0):
|
73 |
if negative_prompt == "":
|
74 |
negative_prompt = None
|
|
|
69 |
|
70 |
return content
|
71 |
|
72 |
+
@spaces.GPU(enable_queue=True)
|
73 |
def predict(dict, prompt="", negative_prompt="", guidance_scale=5, steps=30, strength=1.0):
|
74 |
if negative_prompt == "":
|
75 |
negative_prompt = None
|