Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,10 +14,12 @@ custom_css = """
|
|
| 14 |
#submit_btn {
|
| 15 |
background-color: #4CAF50; /* Green */
|
| 16 |
color: white;
|
|
|
|
| 17 |
}
|
| 18 |
#feedback_btn {
|
| 19 |
background-color: #f44336; /* Red */
|
| 20 |
color: white;
|
|
|
|
| 21 |
}
|
| 22 |
#clear_btn {
|
| 23 |
background-color: #2196F3; /* Blue */
|
|
@@ -69,7 +71,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
|
|
| 69 |
|
| 70 |
# Create a row for feedback output
|
| 71 |
with gr.Row():
|
| 72 |
-
feedback_output = gr.Textbox(label="Feedback Status", interactive=False, scale=0,min_width=
|
| 73 |
|
| 74 |
# Buttons
|
| 75 |
with gr.Row():
|
|
|
|
| 14 |
#submit_btn {
|
| 15 |
background-color: #4CAF50; /* Green */
|
| 16 |
color: white;
|
| 17 |
+
width:47%;
|
| 18 |
}
|
| 19 |
#feedback_btn {
|
| 20 |
background-color: #f44336; /* Red */
|
| 21 |
color: white;
|
| 22 |
+
width:47%;
|
| 23 |
}
|
| 24 |
#clear_btn {
|
| 25 |
background-color: #2196F3; /* Blue */
|
|
|
|
| 71 |
|
| 72 |
# Create a row for feedback output
|
| 73 |
with gr.Row():
|
| 74 |
+
feedback_output = gr.Textbox(label="Feedback Status", interactive=False, scale=0,min_width=800) # Add class to feedback output
|
| 75 |
|
| 76 |
# Buttons
|
| 77 |
with gr.Row():
|