fix app 2
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def generate_text(input_text):
|
|
| 35 |
)
|
| 36 |
|
| 37 |
output_text = tokenizer.decode(output[0], skip_special_tokens=True)
|
| 38 |
-
print(output_text)
|
| 39 |
|
| 40 |
# Remove Prompt Echo from Generated Text
|
| 41 |
cleaned_output_text = output_text.replace(input_text, "")
|
|
|
|
| 35 |
)
|
| 36 |
|
| 37 |
output_text = tokenizer.decode(output[0], skip_special_tokens=True)
|
| 38 |
+
# print(output_text)
|
| 39 |
|
| 40 |
# Remove Prompt Echo from Generated Text
|
| 41 |
cleaned_output_text = output_text.replace(input_text, "")
|