Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def launch(input):
|
|
| 44 |
instruction=input,
|
| 45 |
response="",
|
| 46 |
)
|
| 47 |
-
out = gemma_lm.generate(prompt, max_length=
|
| 48 |
ind = out.index('Response') + len('Response')+2
|
| 49 |
return out[ind:]
|
| 50 |
|
|
|
|
| 44 |
instruction=input,
|
| 45 |
response="",
|
| 46 |
)
|
| 47 |
+
out = gemma_lm.generate(prompt, max_length=1024)
|
| 48 |
ind = out.index('Response') + len('Response')+2
|
| 49 |
return out[ind:]
|
| 50 |
|