Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def predict(text, levels):
|
|
| 64 |
iface = gr.Interface(
|
| 65 |
fn=predict,
|
| 66 |
inputs=[
|
| 67 |
-
gr.inputs.Textbox(lines=7, placeholder="Write a text in Spanish.", label="Text in Spanish"),
|
| 68 |
gr.inputs.Radio(choices=["simple or complex?", "basic, intermediate, or advanced?"], type="index", label="Readability Levels"),
|
| 69 |
],
|
| 70 |
outputs=[
|
|
|
|
| 64 |
iface = gr.Interface(
|
| 65 |
fn=predict,
|
| 66 |
inputs=[
|
| 67 |
+
gr.inputs.Textbox(lines=7, placeholder="Write a text in Spanish or choose of the examples below.", label="Text in Spanish"),
|
| 68 |
gr.inputs.Radio(choices=["simple or complex?", "basic, intermediate, or advanced?"], type="index", label="Readability Levels"),
|
| 69 |
],
|
| 70 |
outputs=[
|