zionia commited on
Commit
59b5e56
1 Parent(s): b7045fd

update article

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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)) # Removed alt parameter
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="<p style='text-align: center'>For our other AI works: <a href='https://www.kodiks.com/ai_solutions.html' target='_blank'>https://www.kodiks.com/ai_solutions.html</a> | <a href='https://twitter.com/KodiksBilisim' target='_blank'>Contact us</a></p>",
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(