Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ interface = gr.Interface(
|
|
8 |
fn=model,
|
9 |
inputs="text",
|
10 |
outputs="text",
|
11 |
-
|
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 */
|