ThankGod commited on
Commit
a53d92d
·
unverified ·
1 Parent(s): 6c78134

update max text gen length

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,7 +23,7 @@ article = """
23
  # Gradio app design
24
  interface = gr.Interface(
25
  generate_text,
26
- inputs = ['text', gr.Slider(20, 100, value=80, step=1)],
27
  outputs='text',
28
  title = title,
29
  description = description,
@@ -35,4 +35,4 @@ interface = gr.Interface(
35
  50], ["I will tell a story about",
36
  100]]
37
  )
38
- interface.launch()
 
23
  # Gradio app design
24
  interface = gr.Interface(
25
  generate_text,
26
+ inputs = ['text', gr.Slider(20, 120, value=80, step=1)],
27
  outputs='text',
28
  title = title,
29
  description = description,
 
35
  50], ["I will tell a story about",
36
  100]]
37
  )
38
+ interface.launch()