neena2024 commited on
Commit
114e0e9
·
verified ·
1 Parent(s): 8c35350

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import torch
2
  import gradio as gr
3
 
4
-
5
  # Use a pipeline as a high-level helper
6
  from transformers import pipeline
7
 
@@ -40,4 +39,4 @@ demo = gr.Interface(fn=translate_text,
40
  outputs=[gr.Textbox(label="Translated text",lines=4)],
41
  title="@GenAILearniverse Project 4: Multi language translator",
42
  description="THIS APPLICATION WILL BE USED TO TRNSLATE ANY ENGLIST TEXT TO MULTIPLE LANGUAGES.")
43
- demo.launch(share=True)
 
1
  import torch
2
  import gradio as gr
3
 
 
4
  # Use a pipeline as a high-level helper
5
  from transformers import pipeline
6
 
 
39
  outputs=[gr.Textbox(label="Translated text",lines=4)],
40
  title="@GenAILearniverse Project 4: Multi language translator",
41
  description="THIS APPLICATION WILL BE USED TO TRNSLATE ANY ENGLIST TEXT TO MULTIPLE LANGUAGES.")
42
+ demo.launch(share=True)