Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def encode_text(prompt: str):
|
|
| 39 |
# INTERFACE GRADIO
|
| 40 |
# -----------------------------
|
| 41 |
demo = gr.Interface(
|
| 42 |
-
fn=
|
| 43 |
inputs=gr.Textbox(label="Prompt", placeholder="Écris ton texte ici..."),
|
| 44 |
outputs=[
|
| 45 |
gr.Textbox(label="Infos"),
|
|
|
|
| 39 |
# INTERFACE GRADIO
|
| 40 |
# -----------------------------
|
| 41 |
demo = gr.Interface(
|
| 42 |
+
fn=encode_text,
|
| 43 |
inputs=gr.Textbox(label="Prompt", placeholder="Écris ton texte ici..."),
|
| 44 |
outputs=[
|
| 45 |
gr.Textbox(label="Infos"),
|