Spaces:
Sleeping
Sleeping
Commit
·
93bcf17
1
Parent(s):
021b291
Update app.py
Browse files
app.py
CHANGED
@@ -70,6 +70,10 @@ translate_interface = gr.Interface(fn = translate,
|
|
70 |
title = 'Translating "English Data Science" content into Arabic',
|
71 |
inputs=gr.inputs.Textbox(lines = 7, label = 'English content'),
|
72 |
outputs="text",
|
73 |
-
examples = [
|
|
|
|
|
|
|
|
|
74 |
)
|
75 |
translate_interface.launch(inline = False)
|
|
|
70 |
title = 'Translating "English Data Science" content into Arabic',
|
71 |
inputs=gr.inputs.Textbox(lines = 7, label = 'English content'),
|
72 |
outputs="text",
|
73 |
+
examples = [
|
74 |
+
['In the last few years the RNN-based architectures have shown the best performance in machine translation problems, but still they have some problems that had to be solved. First, they have a difficulty to cope with long-range dependencies (also LSTM when it has to deal with really long sentences). Secondly, each hidden state depends on the previous one which impossible to parallelize and makes it inefficient on GPUs.']
|
75 |
+
,
|
76 |
+
['Data science is an interdisciplinary field that uses scientific methods, processes, algorithms and systems to extract knowledge and insights from noisy, structured and unstructured data,[1][2] and apply knowledge and actionable insights from data across a broad range of application domains. Data science is related to data mining, machine learning and big data.']
|
77 |
+
]
|
78 |
)
|
79 |
translate_interface.launch(inline = False)
|