Jass0117 commited on
Commit
587433c
·
verified ·
1 Parent(s): ed0a8cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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;'>Bienvenido al Identificador de Piezas Dentales</h1>"
35
- "<p style='text-align: center;'>Por favor, cargue la radiografía que desea revisar.</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="Cargue su radiografía")
41
  with gr.Column():
42
- output_image = gr.Image(type="numpy", label="Análisis")
43
 
44
- analyze_button = gr.Button("Analizar")
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()