eogreen commited on
Commit
b7f426c
1 Parent(s): 7af5cb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -46,7 +46,6 @@ textbox = gr.Textbox(label='Command')
46
 
47
  # Create Gradio interface
48
  # Set-up the Gradio UI
49
- textbox = gr.Textbox(label='Command')
50
 
51
  # Create Gradio interface with tabs
52
  with gr.Blocks(theme=gr.themes.Soft()) as operand:
@@ -83,7 +82,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as operand:
83
  gr.Markdown("Statistical analysis of a data set e.g., slope calculation on feature")
84
  textbox_d = gr.Textbox(label='Command C')
85
  output_d = gr.Textbox(label='Output C')
86
- button_d = gr.Button("Submit C")
87
  button_d.click(dprocess, inputs=[textbox_d], outputs=output_d)
88
 
89
  with gr.Tab("Data Visualization"):
@@ -91,7 +90,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as operand:
91
  gr.Markdown("A visual insight from a data set or data analysis results e.g., matplotlib, sns, plotly")
92
  textbox_c = gr.Textbox(label='Command C')
93
  output_c = gr.Textbox(label='Output C')
94
- button_c = gr.Button("Submit C")
95
  button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
96
 
97
  with gr.Tab("Notification"):
@@ -99,7 +98,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as operand:
99
  gr.Markdown("Scheduled transmission of data set, data analysis or data visualization direct to user device")
100
  textbox_c = gr.Textbox(label='Command C')
101
  output_c = gr.Textbox(label='Output C')
102
- button_c = gr.Button("Submit C")
103
  button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
104
 
105
  with gr.Tab("Automation"):
@@ -107,7 +106,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as operand:
107
  gr.Markdown("Multistep composition of functional elements")
108
  textbox_c = gr.Textbox(label='Command C')
109
  output_c = gr.Textbox(label='Output C')
110
- button_c = gr.Button("Submit C")
111
  button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
112
 
113
  # For the inputs parameter of Interface provide [textbox,company] with outputs parameter of Interface provide prediction
 
46
 
47
  # Create Gradio interface
48
  # Set-up the Gradio UI
 
49
 
50
  # Create Gradio interface with tabs
51
  with gr.Blocks(theme=gr.themes.Soft()) as operand:
 
82
  gr.Markdown("Statistical analysis of a data set e.g., slope calculation on feature")
83
  textbox_d = gr.Textbox(label='Command C')
84
  output_d = gr.Textbox(label='Output C')
85
+ button_d = gr.Button("Submit")
86
  button_d.click(dprocess, inputs=[textbox_d], outputs=output_d)
87
 
88
  with gr.Tab("Data Visualization"):
 
90
  gr.Markdown("A visual insight from a data set or data analysis results e.g., matplotlib, sns, plotly")
91
  textbox_c = gr.Textbox(label='Command C')
92
  output_c = gr.Textbox(label='Output C')
93
+ button_c = gr.Button("Submit")
94
  button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
95
 
96
  with gr.Tab("Notification"):
 
98
  gr.Markdown("Scheduled transmission of data set, data analysis or data visualization direct to user device")
99
  textbox_c = gr.Textbox(label='Command C')
100
  output_c = gr.Textbox(label='Output C')
101
+ button_c = gr.Button("Submit")
102
  button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
103
 
104
  with gr.Tab("Automation"):
 
106
  gr.Markdown("Multistep composition of functional elements")
107
  textbox_c = gr.Textbox(label='Command C')
108
  output_c = gr.Textbox(label='Output C')
109
+ button_c = gr.Button("Submit")
110
  button_c.click(dprocess, inputs=[textbox_c], outputs=output_c)
111
 
112
  # For the inputs parameter of Interface provide [textbox,company] with outputs parameter of Interface provide prediction