Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def evaluate(
|
|
113 |
s = generation_output.sequences[0]
|
114 |
output = tokenizer.decode(s, skip_special_tokens=True)
|
115 |
|
116 |
-
return output
|
117 |
|
118 |
|
119 |
g = gr.Interface(
|
|
|
113 |
s = generation_output.sequences[0]
|
114 |
output = tokenizer.decode(s, skip_special_tokens=True)
|
115 |
|
116 |
+
return output[len(prompt):]
|
117 |
|
118 |
|
119 |
g = gr.Interface(
|