Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ import gradio as gr
|
|
| 5 |
import tensorflow as tf
|
| 6 |
import torch
|
| 7 |
|
|
|
|
| 8 |
from transformers import MBartTokenizer, TFMBartForConditionalGeneration
|
| 9 |
|
| 10 |
def run_model(input_text,
|
|
|
|
| 5 |
import tensorflow as tf
|
| 6 |
import torch
|
| 7 |
|
| 8 |
+
import sentencepiece
|
| 9 |
from transformers import MBartTokenizer, TFMBartForConditionalGeneration
|
| 10 |
|
| 11 |
def run_model(input_text,
|