Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,11 +163,14 @@ def create_interface():
|
|
| 163 |
clear_xray_button = gr.Button("Clear X-ray", elem_classes="gradio-button")
|
| 164 |
with gr.Column(scale=1):
|
| 165 |
report_input = gr.File(label="Upload Patient Report (PDF)", file_count="single", elem_id="report-input")
|
| 166 |
-
clear_report_button = gr.Button("Clear Report", elem_classes="gradio-button")
|
| 167 |
|
| 168 |
with gr.Row():
|
| 169 |
-
|
| 170 |
report_button = gr.Button("Analyze Report", elem_classes="gradio-button")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
|
| 172 |
with gr.Column():
|
| 173 |
xray_output = gr.HTML(label="X-ray Diagnosis Summary", elem_classes="result-box")
|
|
|
|
| 163 |
clear_xray_button = gr.Button("Clear X-ray", elem_classes="gradio-button")
|
| 164 |
with gr.Column(scale=1):
|
| 165 |
report_input = gr.File(label="Upload Patient Report (PDF)", file_count="single", elem_id="report-input")
|
|
|
|
| 166 |
|
| 167 |
with gr.Row():
|
| 168 |
+
# Grouping the Analyze and Clear buttons in the same row for Report
|
| 169 |
report_button = gr.Button("Analyze Report", elem_classes="gradio-button")
|
| 170 |
+
clear_report_button = gr.Button("Clear Report", elem_classes="gradio-button")
|
| 171 |
+
|
| 172 |
+
with gr.Row():
|
| 173 |
+
predict_button = gr.Button("Analyze X-ray", elem_classes="gradio-button")
|
| 174 |
|
| 175 |
with gr.Column():
|
| 176 |
xray_output = gr.HTML(label="X-ray Diagnosis Summary", elem_classes="result-box")
|