TNK21 commited on
Commit
02ea6fd
·
1 Parent(s): e22ff07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,8 +38,8 @@ example_inputs = [
38
  # Create the Gradio interface with examples
39
  iface = gr.Interface(
40
  fn=generate_story,
41
- inputs=gr.inputs.Textbox(label="Enter your input", examples=example_inputs),
42
- outputs=gr.outputs.Textbox(label="Generated Story"),
43
  live=True,
44
  title="Interactive Story Generator",
45
  description="Enter your input, and we will generate an interactive story for you.",
 
38
  # Create the Gradio interface with examples
39
  iface = gr.Interface(
40
  fn=generate_story,
41
+ inputs=gr.components.Textbox(label="Enter your input", examples=example_inputs),
42
+ outputs=gr.components.Textbox(label="Generated Story"),
43
  live=True,
44
  title="Interactive Story Generator",
45
  description="Enter your input, and we will generate an interactive story for you.",