Spaces:
Build error
Build error
Update language_translation.py
Browse files- language_translation.py +2 -2
language_translation.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import gradio as gr
|
2 |
from transformers import MBartForConditionalGeneration, MBart50Tokenizer
|
3 |
|
4 |
def download_model():
|
@@ -25,4 +25,4 @@ examples = [
|
|
25 |
|
26 |
translation_demo= gr.Interface(fn=Translation_demo, inputs = 'text', outputs='text', title = title, description = description ,examples = examples)
|
27 |
|
28 |
-
translation_demo.launch(inline = False)
|
|
|
1 |
+
#import gradio as gr
|
2 |
from transformers import MBartForConditionalGeneration, MBart50Tokenizer
|
3 |
|
4 |
def download_model():
|
|
|
25 |
|
26 |
translation_demo= gr.Interface(fn=Translation_demo, inputs = 'text', outputs='text', title = title, description = description ,examples = examples)
|
27 |
|
28 |
+
#translation_demo.launch(inline = False)
|