Spaces:
Running
Running
Pedro Cuenca
commited on
Commit
·
3584703
1
Parent(s):
6be3159
Text modifications, make links unconditionally blue.
Browse filesFormer-commit-id: 8536b677fbf61178613fafecc530b12cc6aa78ce
- app/app_gradio_ngrok.py +4 -7
app/app_gradio_ngrok.py
CHANGED
|
@@ -62,8 +62,8 @@ def run_inference(prompt):
|
|
| 62 |
"""
|
| 63 |
|
| 64 |
output_description = """
|
| 65 |
-
<p>Read
|
| 66 |
-
<p style='text-align: center'>Created with <a href="https://github.com/borisdayma/dalle-mini">
|
| 67 |
"""
|
| 68 |
|
| 69 |
except ServiceError:
|
|
@@ -82,13 +82,10 @@ outputs = [
|
|
| 82 |
]
|
| 83 |
|
| 84 |
description = """
|
| 85 |
-
Welcome to
|
| 86 |
-
It reproduces the essential characteristics of OpenAI's DALL·E, at a fraction of the size.
|
| 87 |
-
|
| 88 |
-
Please, write what you would like the model to generate, or select one of the examples below.
|
| 89 |
"""
|
| 90 |
gr.Interface(run_inference,
|
| 91 |
-
inputs=[gr.inputs.Textbox(label='Prompt')],
|
| 92 |
outputs=outputs,
|
| 93 |
title='DALL·E mini',
|
| 94 |
description=description,
|
|
|
|
| 62 |
"""
|
| 63 |
|
| 64 |
output_description = """
|
| 65 |
+
<p>Read our <a style="color:blue;" href="https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-mini--Vmlldzo4NjIxODA">full report</a> for more details on how this works.<p>
|
| 66 |
+
<p style='text-align: center'>Created with <a style="color:blue;" href="https://github.com/borisdayma/dalle-mini">DALL·E mini</a></p>
|
| 67 |
"""
|
| 68 |
|
| 69 |
except ServiceError:
|
|
|
|
| 82 |
]
|
| 83 |
|
| 84 |
description = """
|
| 85 |
+
Welcome to DALL·E-mini, a text-to-image generation model.
|
|
|
|
|
|
|
|
|
|
| 86 |
"""
|
| 87 |
gr.Interface(run_inference,
|
| 88 |
+
inputs=[gr.inputs.Textbox(label='Prompt')],
|
| 89 |
outputs=outputs,
|
| 90 |
title='DALL·E mini',
|
| 91 |
description=description,
|