Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,12 +2,8 @@ import gradio as gr
|
|
2 |
from pathlib import Path
|
3 |
import os
|
4 |
|
5 |
-
os.system('pip install sentencepiece')
|
6 |
-
os.system('pip install transformers')
|
7 |
-
os.system('pip install --upgrade pip')
|
8 |
os.system('pip install tensorflow')
|
9 |
os.system('pip install nltk')
|
10 |
-
os.system('pip install torchvision ')
|
11 |
|
12 |
from transformers import pipeline
|
13 |
from transformers import MarianMTModel, MarianTokenizer
|
|
|
2 |
from pathlib import Path
|
3 |
import os
|
4 |
|
|
|
|
|
|
|
5 |
os.system('pip install tensorflow')
|
6 |
os.system('pip install nltk')
|
|
|
7 |
|
8 |
from transformers import pipeline
|
9 |
from transformers import MarianMTModel, MarianTokenizer
|