Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
147 |
-
|
148 |
-
with gr.
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
with gr.
|
153 |
-
|
154 |
-
|
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(
|