Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def text_generate(prompt):
|
|
17 |
print(f"*****Inside text_generate - Prompt is :{prompt}")
|
18 |
|
19 |
data ={"inputs":prompt,
|
20 |
-
max_length
|
21 |
"top_p": 0.9,
|
22 |
"temp": 0.75}
|
23 |
try:
|
|
|
17 |
print(f"*****Inside text_generate - Prompt is :{prompt}")
|
18 |
|
19 |
data ={"inputs":prompt,
|
20 |
+
"max_length":1024,
|
21 |
"top_p": 0.9,
|
22 |
"temp": 0.75}
|
23 |
try:
|