rajeshthangaraj1 commited on
Commit
e65c2d1
·
verified ·
1 Parent(s): b59de78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def generate_text(prompt):
12
  # Set up the Gradio interface
13
  interface = gr.Interface(
14
  fn=generate_text,
15
- inputs=gr.inputs.Textbox(lines=2, placeholder="Type something here..."),
16
  outputs='text',
17
  title="Simple Generative AI",
18
  description="Type in a prompt and get a continuation from GPT-2!"
 
12
  # Set up the Gradio interface
13
  interface = gr.Interface(
14
  fn=generate_text,
15
+ inputs=gr.Textbox(lines=2, placeholder="Type something here..."),
16
  outputs='text',
17
  title="Simple Generative AI",
18
  description="Type in a prompt and get a continuation from GPT-2!"