Spaces:
Sleeping
Sleeping
Commit
·
6c70ef6
1
Parent(s):
853781b
Fixed app v2
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ async def analyze_security_logs(request: LogRequest):
|
|
57 |
"content": prompt
|
58 |
}
|
59 |
],
|
60 |
-
max_tokens=
|
61 |
)
|
62 |
|
63 |
# Extract and return the analysis text
|
|
|
57 |
"content": prompt
|
58 |
}
|
59 |
],
|
60 |
+
max_tokens=1024 # Adjust to limit the response length
|
61 |
)
|
62 |
|
63 |
# Extract and return the analysis text
|