Spaces:
Runtime error
Runtime error
add duplicate spaces badge
Browse files
app.py
CHANGED
|
@@ -33,7 +33,12 @@ def generate_image_fn(prompt: str, img_width: int, img_height=512) -> list:
|
|
| 33 |
return image
|
| 34 |
|
| 35 |
|
| 36 |
-
description = "This Space demonstrates MultiDiffusion Text2Panorama using Stable Diffusion model. To get started, either enter a prompt and pick one from the examples below. For details, please visit [the project page](https://multidiffusion.github.io/).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
article = "This Space leverages a T4 GPU to run the predictions. We use mixed-precision to speed up the inference latency."
|
| 38 |
gr.Interface(
|
| 39 |
generate_image_fn,
|
|
|
|
| 33 |
return image
|
| 34 |
|
| 35 |
|
| 36 |
+
description = """This Space demonstrates MultiDiffusion Text2Panorama using Stable Diffusion model. To get started, either enter a prompt and pick one from the examples below. For details, please visit [the project page](https://multidiffusion.github.io/).
|
| 37 |
+
<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings.
|
| 38 |
+
<br/>
|
| 39 |
+
<a href="https://huggingface.co/spaces/weizmannscience/MultiDiffusion?duplicate=true">
|
| 40 |
+
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
| 41 |
+
<p/>"""
|
| 42 |
article = "This Space leverages a T4 GPU to run the predictions. We use mixed-precision to speed up the inference latency."
|
| 43 |
gr.Interface(
|
| 44 |
generate_image_fn,
|