ipvikas commited on
Commit
9e93609
1 Parent(s): 7b4909d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -47,9 +47,7 @@ examples = [
47
  POS_demo = gr.Interface(fn=get_POS, inputs = 'text',outputs=['text'],title = title,description = 'Get POS tags',examples = examples)
48
  #POS_demo.launch(debug=True)
49
 
50
- path = 'language_translation.py'
51
- with open(path, 'r') as f:
52
- translation_demo
53
 
54
  ########################################################################################################
55
  demo = gr.TabbedInterface([tts_demo, sentiment_demo,POS_demo,translation_demo], ["Text-to-speech","Sentiment Analysis","POS findings", "Language Translation"])
 
47
  POS_demo = gr.Interface(fn=get_POS, inputs = 'text',outputs=['text'],title = title,description = 'Get POS tags',examples = examples)
48
  #POS_demo.launch(debug=True)
49
 
50
+ import language_translation.py
 
 
51
 
52
  ########################################################################################################
53
  demo = gr.TabbedInterface([tts_demo, sentiment_demo,POS_demo,translation_demo], ["Text-to-speech","Sentiment Analysis","POS findings", "Language Translation"])