bananabot commited on
Commit
47e5f50
·
1 Parent(s): 51d9b29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -67,7 +67,8 @@ def ai_text(inp):
67
 
68
  #inputs= gr.inputs.Textbox(lines=7, placeholder="Enter the beginning of your mollywood movie idea and the നിർമ്മിത ബുദ്ധി will fill in the rest...")
69
 
70
- #integrate a working translator later!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
71
  #generator = output
72
  #translator = gr.Interface.load("models/Helsinki-NLP/opus-mt-en-ml")
73
  #gr.Series(generator, translator, inputs=gr.inputs.Textbox(lines=7, label="Input Text")).launch() # this demo generates text, then translates it to Malayalam, and outputs the final result.
 
67
 
68
  #inputs= gr.inputs.Textbox(lines=7, placeholder="Enter the beginning of your mollywood movie idea and the നിർമ്മിത ബുദ്ധി will fill in the rest...")
69
 
70
+ #integrate a working translator later!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
71
+
72
  #generator = output
73
  #translator = gr.Interface.load("models/Helsinki-NLP/opus-mt-en-ml")
74
  #gr.Series(generator, translator, inputs=gr.inputs.Textbox(lines=7, label="Input Text")).launch() # this demo generates text, then translates it to Malayalam, and outputs the final result.