Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ SFG расшифровывается как Smart Function Generator.
|
|
| 82 |
no_repeat_ngram_size=4
|
| 83 |
)[0]
|
| 84 |
|
| 85 |
-
|
| 86 |
|
| 87 |
except Exception as e:
|
| 88 |
bot_message = f"Ошибка: {str(e)}"
|
|
|
|
| 82 |
no_repeat_ngram_size=4
|
| 83 |
)[0]
|
| 84 |
|
| 85 |
+
bot_message = tokenizer.decode(output_ids, skip_special_tokens=True)
|
| 86 |
|
| 87 |
except Exception as e:
|
| 88 |
bot_message = f"Ошибка: {str(e)}"
|