Vishwas1 commited on
Commit
78c2117
1 Parent(s): 21a295d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,7 +16,8 @@ def text_generate(prompt):
16
  #Prints to debug the code
17
  print(f"*****Inside text_generate - Prompt is :{prompt}")
18
 
19
- data ={"inputs":prompt,
 
20
  "top_p": 0.9,
21
  "temp": 0.75}
22
  try:
 
16
  #Prints to debug the code
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: