Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ import gradio as gr
|
|
| 22 |
# Définir l'interface Gradio
|
| 23 |
iface = gr.Interface(
|
| 24 |
fn=generate_text,
|
| 25 |
-
inputs=[gr.
|
| 26 |
outputs="text",
|
| 27 |
title="Générateur de Texte en Wolof",
|
| 28 |
description="Entrez un texte en wolof pour générer une continuation à l'aide du modèle T5 pré-entraîné."
|
|
|
|
| 22 |
# Définir l'interface Gradio
|
| 23 |
iface = gr.Interface(
|
| 24 |
fn=generate_text,
|
| 25 |
+
inputs=[gr.Textbox(lines=2, placeholder="Entrez le texte en wolof ici..."), gr.Slider(10, 100, step=1, default=50)],
|
| 26 |
outputs="text",
|
| 27 |
title="Générateur de Texte en Wolof",
|
| 28 |
description="Entrez un texte en wolof pour générer une continuation à l'aide du modèle T5 pré-entraîné."
|