Update app.py
Browse files
app.py
CHANGED
|
@@ -245,6 +245,27 @@ iface = gr.Interface(
|
|
| 245 |
title=title,
|
| 246 |
description=desc
|
| 247 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 248 |
|
| 249 |
if __name__ == "__main__":
|
| 250 |
iface.launch()
|
|
|
|
| 245 |
title=title,
|
| 246 |
description=desc
|
| 247 |
)
|
| 248 |
+
with gr.Blocks() as samples_block:
|
| 249 |
+
gr.Markdown("### Test Samples")
|
| 250 |
+
|
| 251 |
+
with gr.Row():
|
| 252 |
+
with gr.Column():
|
| 253 |
+
gr.Image("images/NORMAL.jpeg", label="Image")
|
| 254 |
+
with gr.Column():
|
| 255 |
+
gr.Markdown("**NORMAL**")
|
| 256 |
+
|
| 257 |
+
with gr.Row():
|
| 258 |
+
with gr.Column():
|
| 259 |
+
gr.Image("images/VIRAL.jpeg", label="Image")
|
| 260 |
+
with gr.Column():
|
| 261 |
+
gr.Markdown("**VIRAL**")
|
| 262 |
+
|
| 263 |
+
with gr.Row():
|
| 264 |
+
with gr.Column():
|
| 265 |
+
gr.Image("images/BACT.jpeg", label="Image")
|
| 266 |
+
with gr.Column():
|
| 267 |
+
gr.Markdown("**BACTERIAL**")
|
| 268 |
+
|
| 269 |
|
| 270 |
if __name__ == "__main__":
|
| 271 |
iface.launch()
|