Update app.py
Browse files
app.py
CHANGED
|
@@ -114,7 +114,7 @@ def analyze_poem(poem_text, progress=gr.Progress()):
|
|
| 114 |
|
| 115 |
output_poet = llm(
|
| 116 |
prompt=poet_prompt,
|
| 117 |
-
max_tokens=
|
| 118 |
temperature=0.4,
|
| 119 |
# Minimal stop sequences for clean output
|
| 120 |
stop=["POEM:", "STRICT OUTPUT FORMAT:", "\n\n", "\n"],
|
|
|
|
| 114 |
|
| 115 |
output_poet = llm(
|
| 116 |
prompt=poet_prompt,
|
| 117 |
+
max_tokens=200, # Keep this response short
|
| 118 |
temperature=0.4,
|
| 119 |
# Minimal stop sequences for clean output
|
| 120 |
stop=["POEM:", "STRICT OUTPUT FORMAT:", "\n\n", "\n"],
|