Spaces:
Runtime error
Runtime error
kjm
commited on
Commit
β’
087283f
1
Parent(s):
5a3e4b6
removed unused line
Browse files
app.py
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import M2M100ForConditionalGeneration
|
3 |
from tokenization_small100 import SMALL100Tokenizer
|
4 |
-
import os
|
5 |
-
|
6 |
-
print(os.getcwd())
|
7 |
-
os.chdir("./trained_models/SMALL-100")
|
8 |
|
9 |
def th2en(th_text: str) -> str:
|
10 |
"""
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import M2M100ForConditionalGeneration
|
3 |
from tokenization_small100 import SMALL100Tokenizer
|
|
|
|
|
|
|
|
|
4 |
|
5 |
def th2en(th_text: str) -> str:
|
6 |
"""
|