jonathanagustin commited on
Commit
32d9c19
1 Parent(s): 1e217b7

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -87,13 +87,6 @@ def main():
87
  gr.set_static_paths([PREVIEW_DIR])
88
 
89
  with gr.Blocks() as demo:
90
- # Include global CSS styles for the audio elements
91
- gr.HTML("""
92
- <style>
93
-
94
- </style>
95
- """)
96
-
97
  with gr.Row():
98
  with gr.Column(scale=1):
99
  api_key_input = gr.Textbox(
@@ -118,7 +111,7 @@ def main():
118
  html_snippet = f'''
119
  <div style="margin-bottom: 10px;">
120
  <p><strong>{voice.capitalize()}</strong></p>
121
- <audio controls preload="auto" style="width: 50px; height: 30px;">
122
  <source src="{audio_url}" type="audio/wav">
123
  Your browser does not support the audio element.
124
  </audio>
 
87
  gr.set_static_paths([PREVIEW_DIR])
88
 
89
  with gr.Blocks() as demo:
 
 
 
 
 
 
 
90
  with gr.Row():
91
  with gr.Column(scale=1):
92
  api_key_input = gr.Textbox(
 
111
  html_snippet = f'''
112
  <div style="margin-bottom: 10px;">
113
  <p><strong>{voice.capitalize()}</strong></p>
114
+ <audio controls preload="auto">
115
  <source src="{audio_url}" type="audio/wav">
116
  Your browser does not support the audio element.
117
  </audio>