Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,17 +31,17 @@ css = f"""
|
|
| 31 |
|
| 32 |
with gr.Blocks(css=css) as demo:
|
| 33 |
# Encabezado
|
| 34 |
-
gr.Markdown("<h1 style='text-align: center;'>
|
| 35 |
-
"<p style='text-align: center;'>
|
| 36 |
|
| 37 |
# Contenedor para la carga de imágenes y resultados
|
| 38 |
with gr.Row():
|
| 39 |
with gr.Column():
|
| 40 |
-
input_image = gr.Image(type="filepath", label="
|
| 41 |
with gr.Column():
|
| 42 |
-
output_image = gr.Image(type="numpy", label="
|
| 43 |
|
| 44 |
-
analyze_button = gr.Button("
|
| 45 |
analyze_button.click(fn=predict, inputs=input_image, outputs=output_image)
|
| 46 |
|
| 47 |
demo.launch()
|
|
|
|
| 31 |
|
| 32 |
with gr.Blocks(css=css) as demo:
|
| 33 |
# Encabezado
|
| 34 |
+
gr.Markdown("<h1 style='text-align: center;'>Welcome to DentAIxpert</h1>"
|
| 35 |
+
"<p style='text-align: center;'>Please upload the radiograph you want to analyze.</p>")
|
| 36 |
|
| 37 |
# Contenedor para la carga de imágenes y resultados
|
| 38 |
with gr.Row():
|
| 39 |
with gr.Column():
|
| 40 |
+
input_image = gr.Image(type="filepath", label="Input")
|
| 41 |
with gr.Column():
|
| 42 |
+
output_image = gr.Image(type="numpy", label="Output")
|
| 43 |
|
| 44 |
+
analyze_button = gr.Button("Submit")
|
| 45 |
analyze_button.click(fn=predict, inputs=input_image, outputs=output_image)
|
| 46 |
|
| 47 |
demo.launch()
|