anjikum commited on
Commit
42884c7
·
verified ·
1 Parent(s): 59fc6f3

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -50,12 +50,14 @@ iface = gr.Interface(
50
  fn=generate_text,
51
  inputs=gr.Textbox(lines=5, label="Input Text"),
52
  outputs=gr.Textbox(lines=10, label="Generated Text"),
53
- title="GPT Text Generator",
54
- description="Enter some text and the model will generate a continuation.",
55
  examples=[
56
- ["The quick brown fox"],
57
- ["In a world where AI"],
58
- ["Once upon a time"]
 
 
59
  ]
60
  )
61
 
 
50
  fn=generate_text,
51
  inputs=gr.Textbox(lines=5, label="Input Text"),
52
  outputs=gr.Textbox(lines=10, label="Generated Text"),
53
+ title="Text Generator",
54
+ description="Enter some text and the model will generate a Shakespeare-style continuation.",
55
  examples=[
56
+ ["To be, or not to be,"],
57
+ ["All the world's a stage, and all the men"],
58
+ ["But soft, what light through yonder"],
59
+ ["Friends, Romans, countrymen,"],
60
+ ["Now is the winter of our discontent"]
61
  ]
62
  )
63