JadAssaf
commited on
Commit
•
5f89b87
1
Parent(s):
e7a0f44
Update app.py
Browse files
app.py
CHANGED
@@ -22,9 +22,9 @@ def inference(truncation,seeds):
|
|
22 |
return image
|
23 |
|
24 |
title = "OCTaGAN"
|
25 |
-
description = "Gradio demo for OCTaGAN. OCTaGAN is a GAN trained on wide-field corneal Optical Coherence Tomography (OCT) scans to generate cornea scans with a variety of pathologies (e.g.keratoconus disease) and surgical procedures (e.g. Implantable Collamer Lens
|
26 |
|
27 |
-
article = "<p style='text-align: center'><a href='
|
28 |
|
29 |
|
30 |
gr.Interface(inference,[gr.inputs.Slider(label="truncation",minimum=0, maximum=5, step=0.1, default=0.8),gr.inputs.Slider(label="Seed",minimum=0, maximum=1000, step=1, default=0)],"pil",title=title,description=description,article=article, examples=[
|
|
|
22 |
return image
|
23 |
|
24 |
title = "OCTaGAN"
|
25 |
+
description = "Gradio demo for OCTaGAN. OCTaGAN is a GAN trained on wide-field corneal Optical Coherence Tomography (OCT) scans to generate cornea scans with a variety of pathologies (e.g.keratoconus disease) and surgical procedures (e.g. Implantable Collamer Lens surgery, intrastromal corneal ring segment surgery, and Laser vision correction). OCTaGAN can be used for educational purposes as well as for generating training examples for ML algorithms."
|
26 |
|
27 |
+
article = "<p style='text-align: center'><a href='' target='_blank'>OCTaGAN</a><center><a href='https://colab.research.google.com/drive/1vfbvMMkEBIwiuSbuC5pP-hsQr1nBmJXa?usp=sharing' target='_blank'><img src='https://colab.research.google.com/assets/colab-badge.svg' alt='Open In Colab'/></a></center></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=AUBMC-AIM_octogan' alt='visitor badge'></center>"
|
28 |
|
29 |
|
30 |
gr.Interface(inference,[gr.inputs.Slider(label="truncation",minimum=0, maximum=5, step=0.1, default=0.8),gr.inputs.Slider(label="Seed",minimum=0, maximum=1000, step=1, default=0)],"pil",title=title,description=description,article=article, examples=[
|