Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStream
|
|
12 |
|
13 |
MAX_MAX_NEW_TOKENS = 1024
|
14 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
15 |
-
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "
|
16 |
|
17 |
lyrics_pool = [
|
18 |
"[VERSE 1]\nBack when I was broken up chasin after yall shit\npriority was smokin up, tryna keep the bar lit\nI tried to use this pain of mine to fertilize the garden\nI would do it rain or shine, I was overwatering\nwhen you take care of business where the air acidic\nbe careful and beware of it, its parasitic\nfrom wonder valley I extend healing\nyo gonna see for miles if you receive\nhere come the ayurvedic love\n",
|
|
|
12 |
|
13 |
MAX_MAX_NEW_TOKENS = 1024
|
14 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
15 |
+
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "2048"))
|
16 |
|
17 |
lyrics_pool = [
|
18 |
"[VERSE 1]\nBack when I was broken up chasin after yall shit\npriority was smokin up, tryna keep the bar lit\nI tried to use this pain of mine to fertilize the garden\nI would do it rain or shine, I was overwatering\nwhen you take care of business where the air acidic\nbe careful and beware of it, its parasitic\nfrom wonder valley I extend healing\nyo gonna see for miles if you receive\nhere come the ayurvedic love\n",
|