AngelinaZanardi commited on
Commit
8253edb
·
verified ·
1 Parent(s): d435c92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import time
2
  import os
3
  import re
4
- import base64
5
 
6
  import torch
7
  import torchaudio
@@ -131,21 +130,22 @@ demo = gr.Blocks()
131
  with demo:
132
  gr.HTML("""
133
  <style>
134
- .gr-button {
135
- background-color: #F44336; /* Green background */
136
- color: white; /* White text */
137
- border: none;
138
- padding: 10px 20px;
139
- text-align: center;
140
- text-decoration: none;
141
- display: inline-block;
142
- font-size: 16px;
143
- margin: 4px 2px;
144
- cursor: pointer;
145
- border-radius: 4px;
 
146
  }
147
  .gr-button:hover {
148
- background-color: #B22222; /* Darker red on hover */
149
  }
150
  </style>
151
  """)
 
1
  import time
2
  import os
3
  import re
 
4
 
5
  import torch
6
  import torchaudio
 
130
  with demo:
131
  gr.HTML("""
132
  <style>
133
+ /* General styles for the interface */
134
+ .gr-button {
135
+ background-color: #F44336 !important; /* Red background */
136
+ color: white !important; /* White text */
137
+ border: none !important;
138
+ padding: 10px 20px !important;
139
+ text-align: center !important;
140
+ text-decoration: none !important;
141
+ display: inline-block !important;
142
+ font-size: 16px !important;
143
+ margin: 4px 2px !important;
144
+ cursor: pointer !important;
145
+ border-radius: 4px !important;
146
  }
147
  .gr-button:hover {
148
+ background-color: #B22222 !important; /* Darker red on hover */
149
  }
150
  </style>
151
  """)