Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,10 @@ import os
|
|
| 7 |
with gr.Blocks() as demo:
|
| 8 |
gr.Markdown("# Lung Cancer Classifier")
|
| 9 |
gr.Markdown("## Image Examples")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
gr.Examples(
|
| 11 |
examples=[os.path.join(os.path.dirname(__file__), "lung01.jpg"),
|
| 12 |
os.path.join(os.path.dirname(__file__), "lung02.jpg"),
|
|
|
|
| 7 |
with gr.Blocks() as demo:
|
| 8 |
gr.Markdown("# Lung Cancer Classifier")
|
| 9 |
gr.Markdown("## Image Examples")
|
| 10 |
+
with gr.Row():
|
| 11 |
+
inp_img = gr.Image()
|
| 12 |
+
out_txt = gr.Textbox()
|
| 13 |
+
btn = gr.Button(value="Submit")
|
| 14 |
gr.Examples(
|
| 15 |
examples=[os.path.join(os.path.dirname(__file__), "lung01.jpg"),
|
| 16 |
os.path.join(os.path.dirname(__file__), "lung02.jpg"),
|