Spaces:
Build error
Build error
SAB03 commited on
Commit ·
c23e783
1
Parent(s): 05e6936
fixed attribute error in app.py -AttributeError: module 'gradio' has no attribute 'inputs'-
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def translate(text):
|
|
| 12 |
|
| 13 |
iface = gr.Interface(
|
| 14 |
fn=translate,
|
| 15 |
-
inputs=gr.
|
| 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()
|