Docfile commited on
Commit
aa1d4a4
·
verified ·
1 Parent(s): f918da0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -63,5 +63,11 @@ def gpt_francais(french_prompt,choix,autheur):
63
 
64
 
65
 
66
- iface = gr.Interface(fn=greet, inputs=gr.Textbox(label="Question:", lines=4), outputs="text")
 
 
 
 
 
 
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()