Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,6 +62,14 @@ async def infer(model_str, prompt, timeout):
|
|
| 62 |
return image
|
| 63 |
return None
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
def gen_fn(model_str, prompt):
|
| 67 |
if model_str == 'NA':
|
|
|
|
| 62 |
return image
|
| 63 |
return None
|
| 64 |
|
| 65 |
+
with gr.Blocks() as demo:
|
| 66 |
+
gr.HTML(
|
| 67 |
+
"""
|
| 68 |
+
<div>
|
| 69 |
+
<p> <center>For simultaneous generations without hidden queue check out <a href="https://huggingface.co/spaces/Yntec/ToyWorld">Toy World</a>! For more options like single model x6 check out <a href="https://huggingface.co/spaces/John6666/Diffusion80XX4sg">Diffusion80XX4sg</a> by John6666!</center>
|
| 70 |
+
</p></div>
|
| 71 |
+
"""
|
| 72 |
+
)
|
| 73 |
|
| 74 |
def gen_fn(model_str, prompt):
|
| 75 |
if model_str == 'NA':
|