Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,10 +34,8 @@ textbox = gr.Textbox()
|
|
| 34 |
|
| 35 |
demo = gr.Interface(
|
| 36 |
fn=predict,
|
| 37 |
-
|
| 38 |
-
inputs=textbox,
|
| 39 |
outputs=gr.HTML(),
|
| 40 |
-
#outputs=gr.TextArea(label="Feedback on text input:"),
|
| 41 |
description=description_html,
|
| 42 |
examples=[
|
| 43 |
["Það voru vitni að árásinni sem tilkynntu málið til lögreglu sem kom skjótt á vettvang."],
|
|
|
|
| 34 |
|
| 35 |
demo = gr.Interface(
|
| 36 |
fn=predict,
|
| 37 |
+
inputs=gr.TextArea(label="Enter text here:"),
|
|
|
|
| 38 |
outputs=gr.HTML(),
|
|
|
|
| 39 |
description=description_html,
|
| 40 |
examples=[
|
| 41 |
["Það voru vitni að árásinni sem tilkynntu málið til lögreglu sem kom skjótt á vettvang."],
|