datasaur-dev commited on
Commit
1454fd7
·
verified ·
1 Parent(s): 4489fbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -128,26 +128,15 @@ with gr.Blocks(
128
  theme=gr.themes.Default(primary_hue="blue", secondary_hue="sky"),
129
  css="""
130
  .success-text { background-color: #d4edda !important; }
131
- .centered {
132
- justify-content: center !important;
133
- align-items: center !important;
134
- text-align: center !important;
135
- }
136
- .gradio-container {
137
- max-width: 960px !important; margin: auto !important;
138
- }
139
  """
140
  ) as demo:
141
  gr.Markdown("# Time Entry Improvement")
142
  with gr.Row():
143
  text_area = gr.Textbox(label="Your Text", lines=5)
144
  previous_text_area = gr.Textbox(label="Previous Text", lines=5, visible=False)
145
-
146
- with gr.Row(elem_classes="centered"):
147
- category_label = gr.Markdown("", visible=False)
148
  magic_button = gr.Button("Magic Button")
149
 
150
-
151
  magic_button.click(
152
  fn=handle_magic_click,
153
  inputs=[text_area, magic_button],
 
128
  theme=gr.themes.Default(primary_hue="blue", secondary_hue="sky"),
129
  css="""
130
  .success-text { background-color: #d4edda !important; }
 
 
 
 
 
 
 
 
131
  """
132
  ) as demo:
133
  gr.Markdown("# Time Entry Improvement")
134
  with gr.Row():
135
  text_area = gr.Textbox(label="Your Text", lines=5)
136
  previous_text_area = gr.Textbox(label="Previous Text", lines=5, visible=False)
137
+ category_label = gr.Markdown("", visible=False)
 
 
138
  magic_button = gr.Button("Magic Button")
139
 
 
140
  magic_button.click(
141
  fn=handle_magic_click,
142
  inputs=[text_area, magic_button],