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