Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
18 |
"""
|
19 |
# African Language Chatbot (Khaya)
|
20 |
SELECT YOUR LANGUAGE BELOW!
|
21 |
-
Based on the <a href="https://translation.ghananlp.org/">Khaya AI
|
22 |
""")
|
23 |
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:")
|
24 |
main_block = gr.ChatInterface(fn=generate, additional_inputs = language_selector,
|
|
|
18 |
"""
|
19 |
# African Language Chatbot (Khaya)
|
20 |
SELECT YOUR LANGUAGE BELOW!
|
21 |
+
Based on the <a href="https://translation.ghananlp.org/">Khaya AI</a> and <a href="https://lesan.ai/">Lesan AI</a>. Lesan is used for <b>Amharic</b> and <b>Tigrinya</b>, Khaya is used for the rest.
|
22 |
""")
|
23 |
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:")
|
24 |
main_block = gr.ChatInterface(fn=generate, additional_inputs = language_selector,
|