datasaur-dev commited on
Commit
b3bfa5a
·
verified ·
1 Parent(s): d122da1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -18
app.py CHANGED
@@ -133,26 +133,17 @@ with gr.Blocks(
133
  align-items: center !important;
134
  text-align: center !important;
135
  }
136
- .contain {
137
- max-width: 800px !important;
138
- margin: 0 auto !important;
139
- }
140
- .gradio-container, .gradio-container > .main, .block {
141
- max-width: 800px !important;
142
- margin: 0 auto !important;
143
- }
144
  """
145
  ) as demo:
146
- with gr.Column(elem_classes="contain"):
147
- gr.Markdown("# Time Entry Improvement")
148
- with gr.Row():
149
- with gr.Column(scale=4):
150
- text_area = gr.Textbox(label="Your Text", lines=5)
151
- previous_text_area = gr.Textbox(label="Previous Text", lines=5, visible=False)
152
- with gr.Column(scale=1):
153
- with gr.Row(elem_classes="centered"):
154
- category_label = gr.Markdown("", visible=False)
155
- magic_button = gr.Button("Magic Button")
156
 
157
 
158
  magic_button.click(
 
133
  align-items: center !important;
134
  text-align: center !important;
135
  }
 
 
 
 
 
 
 
 
136
  """
137
  ) as demo:
138
+ gr.Markdown("# Time Entry Improvement")
139
+ with gr.Row():
140
+ with gr.Column():
141
+ text_area = gr.Textbox(label="Your Text", lines=5)
142
+ previous_text_area = gr.Textbox(label="Previous Text", lines=5, visible=False)
143
+ with gr.Column():
144
+ with gr.Row(elem_classes="centered"):
145
+ category_label = gr.Markdown("", visible=False)
146
+ magic_button = gr.Button("Magic Button")
 
147
 
148
 
149
  magic_button.click(