Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,15 +35,7 @@ textbox = gr.Textbox()
|
|
| 35 |
demo = gr.Interface(
|
| 36 |
fn=predict,
|
| 37 |
inputs=gr.TextArea(label="Enter text here:"),
|
| 38 |
-
outputs=
|
| 39 |
-
gr.HTML(
|
| 40 |
-
label="Leiðrétt",
|
| 41 |
-
show_label=False,
|
| 42 |
-
show_legend=True,
|
| 43 |
-
combine_adjacent=True,
|
| 44 |
-
adjacent_separator=" ",
|
| 45 |
-
)
|
| 46 |
-
],
|
| 47 |
description=description_html,
|
| 48 |
examples=[
|
| 49 |
["Það voru vitni að árásinni sem tilkynntu málið til lögreglu sem kom skjótt á vettvang."],
|
|
|
|
| 35 |
demo = gr.Interface(
|
| 36 |
fn=predict,
|
| 37 |
inputs=gr.TextArea(label="Enter text here:"),
|
| 38 |
+
outputs= gr.HTML(label="Leiðrétt"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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."],
|