Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -116,10 +116,10 @@ with gr.Blocks() as demo:
|
|
116 |
App built by [Brenden Connors](https://github.com/brendenconnors).<br>
|
117 |
Built using keras==2.9.0.
|
118 |
|
119 |
-
<br
|
120 |
|
121 |
with gr.Row():
|
122 |
-
with gr.Column():
|
123 |
layers_dropdown = gr.Dropdown(choices=list(layers.keys()), value="Reshape", label="Keras Layer")
|
124 |
with gr.Box():
|
125 |
gr.Markdown("**Please enter desired shape.**")
|
@@ -167,8 +167,8 @@ with gr.Blocks() as demo:
|
|
167 |
desc1 = gr.Textbox(label= '', value = layers["Reshape"]["descriptions"][0])
|
168 |
desc2 = gr.Textbox(label = '', visible=False)
|
169 |
desc3 = gr.Textbox(label = '', visible=False)
|
170 |
-
result_button = gr.Button("Execute")
|
171 |
-
with gr.Column():
|
172 |
output = gr.Textbox(label = 'Command Used')
|
173 |
output2 = gr.Textbox(label = 'Result')
|
174 |
|
|
|
116 |
App built by [Brenden Connors](https://github.com/brendenconnors).<br>
|
117 |
Built using keras==2.9.0.
|
118 |
|
119 |
+
<br>""")
|
120 |
|
121 |
with gr.Row():
|
122 |
+
with gr.Column(variant='panel'):
|
123 |
layers_dropdown = gr.Dropdown(choices=list(layers.keys()), value="Reshape", label="Keras Layer")
|
124 |
with gr.Box():
|
125 |
gr.Markdown("**Please enter desired shape.**")
|
|
|
167 |
desc1 = gr.Textbox(label= '', value = layers["Reshape"]["descriptions"][0])
|
168 |
desc2 = gr.Textbox(label = '', visible=False)
|
169 |
desc3 = gr.Textbox(label = '', visible=False)
|
170 |
+
result_button = gr.Button("Execute", variant="primary")
|
171 |
+
with gr.Column(variant='panel'):
|
172 |
output = gr.Textbox(label = 'Command Used')
|
173 |
output2 = gr.Textbox(label = 'Result')
|
174 |
|