AngelinaZanardi commited on
Commit
1a323cc
·
verified ·
1 Parent(s): c6c1fa7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -31
app.py CHANGED
@@ -125,39 +125,10 @@ def yt_transcribe(yt_url, return_timestamps=False):
125
 
126
  # Lag Gradio-appen uten faner
127
 
128
- demo = gr.Blocks()
129
 
130
  with demo:
131
- gr.HTML("""
132
- <style>
133
- /* Target Gradio buttons specifically */
134
- button.primary-button {
135
- background-color: #F44336; /* Green */
136
- color: white;
137
- border: none;
138
- padding: 10px 20px;
139
- font-size: 16px;
140
- cursor: pointer;
141
- border-radius: 5px;
142
- }
143
- button.primary-button:hover {
144
- background-color: #B22222; /* Darker green */
145
- }
146
-
147
- button.secondary-button {
148
- background-color: #D3D3D3; /* Red */
149
- color: white;
150
- border: none;
151
- padding: 10px 20px;
152
- font-size: 16px;
153
- cursor: pointer;
154
- border-radius: 5px;
155
- }
156
- button.secondary-button:hover {
157
- background-color: #808080; /* Darker red */
158
- }
159
- </style>
160
- """)
161
  with gr.Column():
162
  gr.HTML(f"<img src='file/Logonew.png' style='width:200px;'>")
163
  with gr.Column(scale=8):
 
125
 
126
  # Lag Gradio-appen uten faner
127
 
128
+ demo = gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.red))
129
 
130
  with demo:
131
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  with gr.Column():
133
  gr.HTML(f"<img src='file/Logonew.png' style='width:200px;'>")
134
  with gr.Column(scale=8):