papasega commited on
Commit
f18d02a
·
verified ·
1 Parent(s): 1323683

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.inputs.Textbox(lines=2, placeholder="Entrez le texte en wolof ici..."), gr.inputs.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é."
 
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é."