Spaces:
Runtime error
Runtime error
Luis Oala
commited on
Commit
•
c909455
1
Parent(s):
76860ac
first try
Browse files
app.py
CHANGED
@@ -191,7 +191,5 @@ iface = gr.Interface(fn=sample,
|
|
191 |
outputs=gr.outputs.Image(type="pil", label="model input + completions"),
|
192 |
title=title,
|
193 |
description=description,
|
194 |
-
article=article,
|
195 |
-
examples=examples,
|
196 |
enable_queue=True)
|
197 |
iface.launch(debug=True)
|
|
|
191 |
outputs=gr.outputs.Image(type="pil", label="model input + completions"),
|
192 |
title=title,
|
193 |
description=description,
|
|
|
|
|
194 |
enable_queue=True)
|
195 |
iface.launch(debug=True)
|
app.py~
CHANGED
@@ -184,7 +184,7 @@ def to_base64(pil_image):
|
|
184 |
return base64.b64encode(buffered.getvalue())
|
185 |
|
186 |
title = "glide test"
|
187 |
-
description = "text conditioned image generation demo using openai's GLIDE model (text-guided diffusion model) https://arxiv.org/abs/2112.10741 & https://github.com/openai/glide-text2im/.
|
188 |
|
189 |
iface = gr.Interface(fn=sample,
|
190 |
inputs=gr.inputs.Textbox(label='enter text'),
|
|
|
184 |
return base64.b64encode(buffered.getvalue())
|
185 |
|
186 |
title = "glide test"
|
187 |
+
description = "text conditioned image generation demo using openai's GLIDE model (text-guided diffusion model) https://arxiv.org/abs/2112.10741 & https://github.com/openai/glide-text2im/. should take ~500s to run. credit to valhalla for gradio template https://huggingface.co/spaces/valhalla/."
|
188 |
|
189 |
iface = gr.Interface(fn=sample,
|
190 |
inputs=gr.inputs.Textbox(label='enter text'),
|