Update app.py
Browse files
app.py
CHANGED
|
@@ -105,6 +105,7 @@ def read_content(file_path: str) -> str:
|
|
| 105 |
|
| 106 |
return content
|
| 107 |
|
|
|
|
| 108 |
def predict(dict, prompt="", negative_prompt = default_negative_prompt, guidance_scale=1.2, steps=12, seed=123456):
|
| 109 |
if negative_prompt == "":
|
| 110 |
negative_prompt = None
|
|
|
|
| 105 |
|
| 106 |
return content
|
| 107 |
|
| 108 |
+
@spaces.GPU(enable_queue=True)
|
| 109 |
def predict(dict, prompt="", negative_prompt = default_negative_prompt, guidance_scale=1.2, steps=12, seed=123456):
|
| 110 |
if negative_prompt == "":
|
| 111 |
negative_prompt = None
|