ipvikas commited on
Commit
8965433
1 Parent(s): 3837110

Update language_translation.py

Browse files
Files changed (1) hide show
  1. 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)