SAB03 commited on
Commit
c23e783
·
1 Parent(s): 05e6936

fixed attribute error in app.py -AttributeError: module 'gradio' has no attribute 'inputs'-

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def translate(text):
12
 
13
  iface = gr.Interface(
14
  fn=translate,
15
- inputs=gr.inputs.Textbox(lines=10, placeholder="Enter text to summarize..."),
16
  oiutputs="text"
17
  )
18
  iface.launch()
 
12
 
13
  iface = gr.Interface(
14
  fn=translate,
15
+ inputs=gr.Textbox(lines=10, placeholder="Enter text to summarize..."),
16
  oiutputs="text"
17
  )
18
  iface.launch()