Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,9 @@ with gr.Blocks() as demo:
|
|
16 |
"""
|
17 |
# African Language Chatbot (Khaya)
|
18 |
SELECT YOUR LANGUAGE BELOW!
|
|
|
19 |
""")
|
20 |
-
language_selector = gr.Dropdown(["Twi","Dagbani","Ewe","
|
21 |
with gr.Row():
|
22 |
output = gr.Text(label="Conversation:")
|
23 |
with gr.Row():
|
|
|
16 |
"""
|
17 |
# African Language Chatbot (Khaya)
|
18 |
SELECT YOUR LANGUAGE BELOW!
|
19 |
+
Based on the <a href="https://translation.ghananlp.org/">Khaya AI Translation API</a>, <a href="https://lesan.ai/">Lesan AI</a>, Google Translate API and the BLIP model. Lesan is used for <b>Amharic</b> and <b>Tigrinya</b>, <a href="https://translation.ghananlp.org/">Khaya AI</a> is used for <b>Twi</b>, <b>Dagbani</b>, <b>Ewe</b>, <b>Ga</b>, <b>Gurene</b>, <b>Fante</b>, <b>Kikuyu</b>, <b>Kimeru</b>, <b>Luo</b>, <b>Yoruba</b> and Google is used for <b>Hausa</b>, <b>Swahili</b> and <b>Shona</b>.
|
20 |
""")
|
21 |
+
language_selector = gr.Dropdown(["Amharic","Twi","Dagbani","Ewe","Ga","Gurene","Fante","Hausa", "Kikuyu", "Kimeru", "Luo","Shona","Swahili","Tigrinya","Yoruba"],value="Twi",label="Choose Language! (default is Twi)", info="Language:")
|
22 |
with gr.Row():
|
23 |
output = gr.Text(label="Conversation:")
|
24 |
with gr.Row():
|