Update app.py
Browse files
app.py
CHANGED
@@ -56,61 +56,59 @@ with gr.Blocks(theme=gr.themes.Soft()) as operand:
|
|
56 |
|
57 |
with gr.Accordion("Syntax"):
|
58 |
gr.Markdown("<br>data_source my-ds-name1 my-ds-desc1 my-jira-endpoint1 my-jira-creds1")
|
59 |
-
gr.Markdown("data_source my-ds-name2 my-ds-desc2 my-jira-endpoint2 my-jira-creds2")
|
60 |
-
gr.Markdown("data_source my-ds-name3 my-ds-desc3 my-jira-endpoint3 my-jira-creds3<br><br>")
|
61 |
|
62 |
-
gr.Markdown("Instances of data sources e.g., Jira Cloud endpoint")
|
63 |
|
64 |
-
textbox_a = gr.Textbox(label='Command
|
65 |
-
output_a = gr.Textbox(label='Output
|
66 |
button_a = gr.Button("Submit")
|
67 |
button_a.click(dprocess, inputs=[textbox_a], outputs=output_a)
|
68 |
|
69 |
with gr.Tab("Data Sets"):
|
70 |
gr.Markdown("## Data Set")
|
71 |
gr.Markdown("A data set from a data source.")
|
72 |
-
textbox_b = gr.Textbox(label='Command
|
73 |
-
output_b = gr.Textbox(label='Output
|
74 |
button_b = gr.Button("Submit")
|
75 |
button_b.click(dprocess, inputs=[textbox_b], outputs=output_b)
|
76 |
|
77 |
with gr.Tab("Data Transforms"):
|
78 |
gr.Markdown("## Data Transform")
|
79 |
gr.Markdown("A transformation of a data set into a new data set.")
|
80 |
-
textbox_c = gr.Textbox(label='Command
|
81 |
-
output_c = gr.Textbox(label='Output
|
82 |
button_c = gr.Button("Submit")
|
83 |
button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
|
84 |
|
85 |
with gr.Tab("Data Analyses"):
|
86 |
gr.Markdown("## Data Analysis")
|
87 |
gr.Markdown("Statistical analysis of a data set e.g., slope calculation on feature")
|
88 |
-
textbox_d = gr.Textbox(label='Command
|
89 |
-
output_d = gr.Textbox(label='Output
|
90 |
button_d = gr.Button("Submit")
|
91 |
button_d.click(dprocess, inputs=[textbox_d], outputs=output_d)
|
92 |
|
93 |
with gr.Tab("Data Visualizations"):
|
94 |
gr.Markdown("## Data Visualization")
|
95 |
gr.Markdown("A visual insight from a data set or data analysis results e.g., matplotlib, sns, plotly")
|
96 |
-
textbox_c = gr.Textbox(label='Command
|
97 |
-
output_c = gr.Textbox(label='Output
|
98 |
button_c = gr.Button("Submit")
|
99 |
button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
|
100 |
|
101 |
with gr.Tab("Notifications"):
|
102 |
gr.Markdown("## Notifications")
|
103 |
gr.Markdown("Scheduled transmission of data set, data analysis or data visualization direct to user device")
|
104 |
-
textbox_c = gr.Textbox(label='Command
|
105 |
-
output_c = gr.Textbox(label='Output
|
106 |
button_c = gr.Button("Submit")
|
107 |
button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
|
108 |
|
109 |
with gr.Tab("Automations"):
|
110 |
gr.Markdown("## Automation")
|
111 |
gr.Markdown("Multistep composition of functional elements")
|
112 |
-
textbox_c = gr.Textbox(label='Command
|
113 |
-
output_c = gr.Textbox(label='Output
|
114 |
button_c = gr.Button("Submit")
|
115 |
button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
|
116 |
|
|
|
56 |
|
57 |
with gr.Accordion("Syntax"):
|
58 |
gr.Markdown("<br>data_source my-ds-name1 my-ds-desc1 my-jira-endpoint1 my-jira-creds1")
|
|
|
|
|
59 |
|
60 |
+
gr.Markdown("Instances of data sources e.g., Jira Cloud endpoint, Trello endpoint, Github endpoint")
|
61 |
|
62 |
+
textbox_a = gr.Textbox(label='Command')
|
63 |
+
output_a = gr.Textbox(label='Output')
|
64 |
button_a = gr.Button("Submit")
|
65 |
button_a.click(dprocess, inputs=[textbox_a], outputs=output_a)
|
66 |
|
67 |
with gr.Tab("Data Sets"):
|
68 |
gr.Markdown("## Data Set")
|
69 |
gr.Markdown("A data set from a data source.")
|
70 |
+
textbox_b = gr.Textbox(label='Command')
|
71 |
+
output_b = gr.Textbox(label='Output')
|
72 |
button_b = gr.Button("Submit")
|
73 |
button_b.click(dprocess, inputs=[textbox_b], outputs=output_b)
|
74 |
|
75 |
with gr.Tab("Data Transforms"):
|
76 |
gr.Markdown("## Data Transform")
|
77 |
gr.Markdown("A transformation of a data set into a new data set.")
|
78 |
+
textbox_c = gr.Textbox(label='Command')
|
79 |
+
output_c = gr.Textbox(label='Output')
|
80 |
button_c = gr.Button("Submit")
|
81 |
button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
|
82 |
|
83 |
with gr.Tab("Data Analyses"):
|
84 |
gr.Markdown("## Data Analysis")
|
85 |
gr.Markdown("Statistical analysis of a data set e.g., slope calculation on feature")
|
86 |
+
textbox_d = gr.Textbox(label='Command')
|
87 |
+
output_d = gr.Textbox(label='Output')
|
88 |
button_d = gr.Button("Submit")
|
89 |
button_d.click(dprocess, inputs=[textbox_d], outputs=output_d)
|
90 |
|
91 |
with gr.Tab("Data Visualizations"):
|
92 |
gr.Markdown("## Data Visualization")
|
93 |
gr.Markdown("A visual insight from a data set or data analysis results e.g., matplotlib, sns, plotly")
|
94 |
+
textbox_c = gr.Textbox(label='Command')
|
95 |
+
output_c = gr.Textbox(label='Output')
|
96 |
button_c = gr.Button("Submit")
|
97 |
button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
|
98 |
|
99 |
with gr.Tab("Notifications"):
|
100 |
gr.Markdown("## Notifications")
|
101 |
gr.Markdown("Scheduled transmission of data set, data analysis or data visualization direct to user device")
|
102 |
+
textbox_c = gr.Textbox(label='Command')
|
103 |
+
output_c = gr.Textbox(label='Output')
|
104 |
button_c = gr.Button("Submit")
|
105 |
button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
|
106 |
|
107 |
with gr.Tab("Automations"):
|
108 |
gr.Markdown("## Automation")
|
109 |
gr.Markdown("Multistep composition of functional elements")
|
110 |
+
textbox_c = gr.Textbox(label='Command')
|
111 |
+
output_c = gr.Textbox(label='Output')
|
112 |
button_c = gr.Button("Submit")
|
113 |
button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
|
114 |
|