CreitinGameplays commited on
Commit
408bcd9
·
verified ·
1 Parent(s): 14ed4a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ interface = gr.Interface(
8
  fn=model,
9
  inputs="text",
10
  outputs="text",
11
- max_length=250, # Limit input text length to 250 characters
12
  css="""
13
  .gr-form textarea {
14
  height: 100px; /* Adjust height as needed */
 
8
  fn=model,
9
  inputs="text",
10
  outputs="text",
11
+ max_new_tokens=250, # Limit input text length to 250 characters
12
  css="""
13
  .gr-form textarea {
14
  height: 100px; /* Adjust height as needed */