Spaces:
Sleeping
Sleeping
harishnair04
commited on
Commit
•
4019a26
1
Parent(s):
74a20fe
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def respond(input):
|
|
48 |
instruction=input,
|
49 |
response="",
|
50 |
)
|
51 |
-
out = gemma_model.generate(prompt, max_length=
|
52 |
ind = out.index('Response') + len('Response')+2
|
53 |
return out[ind:]
|
54 |
|
|
|
48 |
instruction=input,
|
49 |
response="",
|
50 |
)
|
51 |
+
out = gemma_model.generate(prompt, max_length=128)
|
52 |
ind = out.index('Response') + len('Response')+2
|
53 |
return out[ind:]
|
54 |
|