Spaces:
Runtime error
Runtime error
Commit
Β·
869c3ce
1
Parent(s):
3a81a65
Update app.py
Browse files
app.py
CHANGED
@@ -242,16 +242,7 @@ def to_base64(pil_image):
|
|
242 |
title = "Interactive demo: glide-text2im dermoscopic image generator"
|
243 |
description = "Demo for the Finetuned version of OpenAI's GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models."
|
244 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.10741'>GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models</a> | <a href='https://github.com/openai/glide-text2im/'>Official Repo</a></p>"
|
245 |
-
examples =["put in one of the following examples:
|
246 |
-
melanoma
|
247 |
-
melanocytic nevi
|
248 |
-
Actinic keratoses and intraepithelial carcinoma / Bowen's disease
|
249 |
-
benign keratosis-like lesions (solar lentigines / seborrheic keratoses and lichen-planus like keratoses
|
250 |
-
basal cell carcinoma
|
251 |
-
dermatofibroma
|
252 |
-
vascular lesions
|
253 |
-
|
254 |
-
Please be aware that generation of the image will take up to 20 minutes, as CPU is used for the generation"]
|
255 |
|
256 |
iface = gr.Interface(fn=sample,
|
257 |
inputs=gr.inputs.Textbox(label='What would you like to see?'),
|
|
|
242 |
title = "Interactive demo: glide-text2im dermoscopic image generator"
|
243 |
description = "Demo for the Finetuned version of OpenAI's GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models."
|
244 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.10741'>GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models</a> | <a href='https://github.com/openai/glide-text2im/'>Official Repo</a></p>"
|
245 |
+
examples =["put in one of the following examples: melanoma; melanocytic nevi; Actinic keratoses and intraepithelial carcinoma / Bowen's disease; benign keratosis-like lesions (solar lentigines / seborrheic keratoses and lichen-planus like keratoses; basal cell carcinoma; dermatofibroma; vascular lesions | Please be aware that generation of the image will take up to 20 minutes, as CPU is used for the generation"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
|
247 |
iface = gr.Interface(fn=sample,
|
248 |
inputs=gr.inputs.Textbox(label='What would you like to see?'),
|