Spaces:
Sleeping
Sleeping
Commit
·
3dbe115
1
Parent(s):
2839f8d
Ajustes menores
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ with gr.Blocks() as app:
|
|
49 |
text_input = gr.Textbox(label="Ingrese texto para análisis")
|
50 |
text_button = gr.Button("Analizar texto")
|
51 |
text_output = gr.Label(label="Resultado del análisis")
|
52 |
-
slider_output = gr.Slider(label="Nivel de
|
53 |
|
54 |
text_button.click(text_analysis, inputs=text_input, outputs=[text_output, slider_output])
|
55 |
|
|
|
49 |
text_input = gr.Textbox(label="Ingrese texto para análisis")
|
50 |
text_button = gr.Button("Analizar texto")
|
51 |
text_output = gr.Label(label="Resultado del análisis")
|
52 |
+
slider_output = gr.Slider(label="Nivel de confianza en el resultado", minimum=0, maximum=100, interactive=False)
|
53 |
|
54 |
text_button.click(text_analysis, inputs=text_input, outputs=[text_output, slider_output])
|
55 |
|