Spaces:
Sleeping
Sleeping
update article
Browse files
app.py
CHANGED
@@ -21,10 +21,9 @@ categories = {
|
|
21 |
"society": "Setšhaba"
|
22 |
}
|
23 |
|
24 |
-
# Create a row layout with a centered column for the logo
|
25 |
with gr.Row():
|
26 |
gr.Column()
|
27 |
-
gr.Column(gr.Image(value="logo_transparent_small.png", elem_id="logo", label=None))
|
28 |
gr.Column()
|
29 |
|
30 |
description = """
|
@@ -76,7 +75,7 @@ gradio_ui = gr.Interface(
|
|
76 |
inputs=gr.Textbox(lines=10, label="Paste some Setswana news here"),
|
77 |
outputs=gr.Label(num_top_classes=5, label="News categories probabilities"),
|
78 |
theme="default",
|
79 |
-
article=
|
80 |
)
|
81 |
|
82 |
gradio_file_ui = gr.Interface(
|
|
|
21 |
"society": "Setšhaba"
|
22 |
}
|
23 |
|
|
|
24 |
with gr.Row():
|
25 |
gr.Column()
|
26 |
+
gr.Column(gr.Image(value="logo_transparent_small.png", elem_id="logo", label=None))
|
27 |
gr.Column()
|
28 |
|
29 |
description = """
|
|
|
75 |
inputs=gr.Textbox(lines=10, label="Paste some Setswana news here"),
|
76 |
outputs=gr.Label(num_top_classes=5, label="News categories probabilities"),
|
77 |
theme="default",
|
78 |
+
article=article,
|
79 |
)
|
80 |
|
81 |
gradio_file_ui = gr.Interface(
|