Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,5 +63,11 @@ def gpt_francais(french_prompt,choix,autheur):
|
|
63 |
|
64 |
|
65 |
|
66 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
iface.launch()
|
|
|
63 |
|
64 |
|
65 |
|
66 |
+
iface = gr.Interface(
|
67 |
+
fn=gpt_francais,
|
68 |
+
title="Mariam-French",
|
69 |
+
description=description_french,
|
70 |
+
inputs=[gr.Textbox(label="Sujet:", lines=3),gr.Radio(["Etaye","refute"]),gr.Radio(["Victor Hugo","Marcel Proust","Albert Camus","Marguerite Duras","Gustave Flaubert","Prof"],label="Style d'ecriture")],
|
71 |
+
outputs=gr.Textbox(),
|
72 |
+
)
|
73 |
iface.launch()
|