datasaur-dev commited on
Commit
810312c
·
verified ·
1 Parent(s): 23a0289

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -125,8 +125,8 @@ def handle_magic_click(current_text, current_button_text):
125
 
126
 
127
  with gr.Blocks(
128
- theme=gr.themes.Soft(primary_hue="blue", secondary_hue="sky"),
129
- css=".success-text { background-color: #d4edda !important; } .gradio-container {max-width: 960px !important; margin: auto !important;}"
130
  ) as demo:
131
  gr.Markdown("# Time Entry Improvement")
132
  with gr.Row():
@@ -134,8 +134,10 @@ with gr.Blocks(
134
  text_area = gr.Textbox(label="Your Text", lines=5)
135
  previous_text_area = gr.Textbox(label="Previous Text", lines=5, visible=False)
136
  with gr.Column(scale=1):
 
 
137
  magic_button = gr.Button("Magic Button")
138
- category_label = gr.Markdown("", visible=False)
139
 
140
  magic_button.click(
141
  fn=handle_magic_click,
 
125
 
126
 
127
  with gr.Blocks(
128
+ theme=gr.themes.Default(primary_hue="blue", secondary_hue="sky"),
129
+ css=".success-text { background-color: #d4edda !important; } .gradio-container {max-width: 1200px !important; margin: auto !important;}"
130
  ) as demo:
131
  gr.Markdown("# Time Entry Improvement")
132
  with gr.Row():
 
134
  text_area = gr.Textbox(label="Your Text", lines=5)
135
  previous_text_area = gr.Textbox(label="Previous Text", lines=5, visible=False)
136
  with gr.Column(scale=1):
137
+ with gr.Row(elem_classes="centered"):
138
+ category_label = gr.Markdown("", visible=False)
139
  magic_button = gr.Button("Magic Button")
140
+
141
 
142
  magic_button.click(
143
  fn=handle_magic_click,