madoss commited on
Commit
1394175
·
1 Parent(s): 227761d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -45,7 +45,8 @@ def generate_text(api_key, query):
45
  iface = gr.Interface(
46
  fn=generate_text,
47
  inputs=[gr.inputs.Textbox(lines=1, placeholder="Input API Key..."),
48
- gr.inputs.Textbox(lines=3, placeholder="Input Text...")],
 
49
  outputs=[gr.outputs.Textbox(label="Generated Text"),
50
  gr.outputs.Textbox(label="Source")]
51
  )
 
45
  iface = gr.Interface(
46
  fn=generate_text,
47
  inputs=[gr.inputs.Textbox(lines=1, placeholder="Input API Key..."),
48
+ gr.inputs.Textbox(lines=3, placeholder="Input Text...",
49
+ default="comment vois tu le future de l'intelligence artificielle?")],
50
  outputs=[gr.outputs.Textbox(label="Generated Text"),
51
  gr.outputs.Textbox(label="Source")]
52
  )