BusinessDev commited on
Commit
26d2810
·
1 Parent(s): 7e21dc1
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ def generate_text(prompt):
14
  # Create the Gradio interface
15
  iface = gr.Interface(
16
  fn=generate_text,
17
- inputs=gr.inputs.Textbox(lines=2, placeholder="Enter your prompt here..."),
18
- outputs="text",
19
  title="Text Generation",
20
  description="Enter a prompt and the model will generate text based on it."
21
  )
 
14
  # Create the Gradio interface
15
  iface = gr.Interface(
16
  fn=generate_text,
17
+ input=gr.inputs.Textbox(lines=2, placeholder="Enter your prompt here..."),
18
+ output="text",
19
  title="Text Generation",
20
  description="Enter a prompt and the model will generate text based on it."
21
  )