Spaces:
Runtime error
Runtime error
changes on app.py
Browse files
app.py
CHANGED
@@ -389,7 +389,6 @@ def ask(symbol, weeks_before):
|
|
389 |
res = model.generate(
|
390 |
**inputs,
|
391 |
use_cache=True,
|
392 |
-
max_length = 4096,
|
393 |
streamer=streamer
|
394 |
)
|
395 |
output = tokenizer.decode(res[0], skip_special_tokens=True)
|
|
|
389 |
res = model.generate(
|
390 |
**inputs,
|
391 |
use_cache=True,
|
|
|
392 |
streamer=streamer
|
393 |
)
|
394 |
output = tokenizer.decode(res[0], skip_special_tokens=True)
|