Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
bd66b34
1
Parent(s):
b0a51b5
Update app.py
Browse files
app.py
CHANGED
@@ -112,8 +112,8 @@ def inference(text):
|
|
112 |
#display.display(display.Image(filename))
|
113 |
return 'progress_00000.png'
|
114 |
|
115 |
-
title = "CLIP
|
116 |
-
description = "Gradio demo for CLIP
|
117 |
article = "<p style='text-align: center'>By Katherine Crowson (https://github.com/crowsonkb, https://twitter.com/RiversHaveWings). It uses OpenAI's 256x256 unconditional ImageNet diffusion model (https://github.com/openai/guided-diffusion) together with CLIP (https://github.com/openai/CLIP) to connect text prompts with images. | <a href='https://colab.research.google.com/drive/1ED6_MYVXTApBHzQObUPaaMolgf9hZOOF' target='_blank'>Colab</a></p>"
|
118 |
|
119 |
iface = gr.Interface(inference, inputs="text", outputs="image", title=title, description=description, article=article, examples=[["coral reef city by artistation artists"]],
|
|
|
112 |
#display.display(display.Image(filename))
|
113 |
return 'progress_00000.png'
|
114 |
|
115 |
+
title = "CLIP Guided Diffusion"
|
116 |
+
description = "Gradio demo for CLIP Guided Diffusion. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
117 |
article = "<p style='text-align: center'>By Katherine Crowson (https://github.com/crowsonkb, https://twitter.com/RiversHaveWings). It uses OpenAI's 256x256 unconditional ImageNet diffusion model (https://github.com/openai/guided-diffusion) together with CLIP (https://github.com/openai/CLIP) to connect text prompts with images. | <a href='https://colab.research.google.com/drive/1ED6_MYVXTApBHzQObUPaaMolgf9hZOOF' target='_blank'>Colab</a></p>"
|
118 |
|
119 |
iface = gr.Interface(inference, inputs="text", outputs="image", title=title, description=description, article=article, examples=[["coral reef city by artistation artists"]],
|