aleegr10 commited on
Commit
1c9ce5b
·
1 Parent(s): 8ec42f8
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,14 +110,14 @@ with gr.Blocks() as demo:
110
  """)
111
 
112
  with gr.Tab("IMAGE"):
113
- inp = gr.inputs.Image(type="pil")
114
  language = gr.Radio(["english", "spanish"], label="Language", info="Choose the language in which you want the audio to appear", value='english', interactive=True)
115
  out = gr.Audio()
116
  btn = gr.Button("RUN")
117
  btn.click(fn=executionIMG, inputs=[inp, language], outputs=out)
118
 
119
  with gr.Tab("TEXT"):
120
- inp = gr.inputs.Textbox()
121
  language = gr.Radio(["english", "spanish"], label="Language", info="Choose the language in which you want the audio to appear", value='english', interactive=True)
122
  out = gr.Audio()
123
  btn = gr.Button("RUN")
 
110
  """)
111
 
112
  with gr.Tab("IMAGE"):
113
+ inp = gr.Image(type="pil")
114
  language = gr.Radio(["english", "spanish"], label="Language", info="Choose the language in which you want the audio to appear", value='english', interactive=True)
115
  out = gr.Audio()
116
  btn = gr.Button("RUN")
117
  btn.click(fn=executionIMG, inputs=[inp, language], outputs=out)
118
 
119
  with gr.Tab("TEXT"):
120
+ inp = gr.Textbox()
121
  language = gr.Radio(["english", "spanish"], label="Language", info="Choose the language in which you want the audio to appear", value='english', interactive=True)
122
  out = gr.Audio()
123
  btn = gr.Button("RUN")