Sanzana Lora
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -44,12 +44,6 @@ def cross_lingual_summarization(source_language, target_language, article_text):
|
|
44 |
iface = gr.Interface(
|
45 |
fn=cross_lingual_summarization,
|
46 |
inputs=[
|
47 |
-
gr.Dropdown(['amharic', 'arabic', 'azerbaijani', 'bengali', 'burmese', 'chinese_simplified', 'chinese_traditional',
|
48 |
-
'english', 'french', 'gujarati', 'hausa', 'hindi', 'igbo', 'indonesian', 'japanese', 'kirundi',
|
49 |
-
'korean', 'kyrgyz', 'marathi', 'nepali', 'oromo', 'pashto', 'persian', 'pidgin', 'portuguese',
|
50 |
-
'punjabi', 'russian', 'scottish_gaelic', 'serbian_cyrillic', 'serbian_latin', 'sinhala', 'somali',
|
51 |
-
'spanish', 'swahili', 'tamil', 'telugu', 'thai', 'tigrinya', 'turkish', 'ukrainian', 'urdu', 'uzbek',
|
52 |
-
'vietnamese', 'welsh', 'yoruba'], label='Source Language'),
|
53 |
gr.Dropdown(['amharic', 'arabic', 'azerbaijani', 'bengali', 'burmese', 'chinese_simplified', 'chinese_traditional',
|
54 |
'english', 'french', 'gujarati', 'hausa', 'hindi', 'igbo', 'indonesian', 'japanese', 'kirundi',
|
55 |
'korean', 'kyrgyz', 'marathi', 'nepali', 'oromo', 'pashto', 'persian', 'pidgin', 'portuguese',
|
|
|
44 |
iface = gr.Interface(
|
45 |
fn=cross_lingual_summarization,
|
46 |
inputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
gr.Dropdown(['amharic', 'arabic', 'azerbaijani', 'bengali', 'burmese', 'chinese_simplified', 'chinese_traditional',
|
48 |
'english', 'french', 'gujarati', 'hausa', 'hindi', 'igbo', 'indonesian', 'japanese', 'kirundi',
|
49 |
'korean', 'kyrgyz', 'marathi', 'nepali', 'oromo', 'pashto', 'persian', 'pidgin', 'portuguese',
|