Commit
·
148d807
1
Parent(s):
d7483f7
Update app.py
Browse files
app.py
CHANGED
@@ -467,8 +467,6 @@ class Application:
|
|
467 |
# pylint: disable=R0912, R0915
|
468 |
options = {"type": component}
|
469 |
|
470 |
-
st.markdown("---")
|
471 |
-
|
472 |
# Lookup component configuration
|
473 |
# - Runtime components have config defined within tasks
|
474 |
# - Pipeline components have config defined at workflow root
|
@@ -539,6 +537,8 @@ class Application:
|
|
539 |
st.markdown(f"** {index + 1}.) Translate** \n*Machine translation*")
|
540 |
options["target"] = self.text("Target language code", component, config, "args", "en")
|
541 |
|
|
|
|
|
542 |
return options
|
543 |
|
544 |
def yaml(self, components):
|
|
|
467 |
# pylint: disable=R0912, R0915
|
468 |
options = {"type": component}
|
469 |
|
|
|
|
|
470 |
# Lookup component configuration
|
471 |
# - Runtime components have config defined within tasks
|
472 |
# - Pipeline components have config defined at workflow root
|
|
|
537 |
st.markdown(f"** {index + 1}.) Translate** \n*Machine translation*")
|
538 |
options["target"] = self.text("Target language code", component, config, "args", "en")
|
539 |
|
540 |
+
st.markdown("---")
|
541 |
+
|
542 |
return options
|
543 |
|
544 |
def yaml(self, components):
|