jiedong-yang commited on
Commit
26ba01d
β€’
1 Parent(s): 5367de0

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. utils.py +9 -0
app.py CHANGED
@@ -129,7 +129,7 @@ def text_to_speech(text: str, out_path="data/short_speech.wav"):
129
  return out_path
130
 
131
 
132
- demo = gr.Blocks(title="Speech Summarization")
133
 
134
  demo.encrypt = False
135
 
 
129
  return out_path
130
 
131
 
132
+ demo = gr.Blocks(css=demo_css, title="Speech Summarization")
133
 
134
  demo.encrypt = False
135
 
utils.py CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  footer_html = """
2
  <div class="footer">
3
  <p>Whisper by <a href="https://github.com/openai/whisper"
 
1
+ demo_css = """
2
+ .footer {
3
+ margin-bottom: 40px;
4
+ margin-top: 45px;
5
+ text-align: center;
6
+ border-bottom: 1px solid #e5e5e5;
7
+ }
8
+ """
9
+
10
  footer_html = """
11
  <div class="footer">
12
  <p>Whisper by <a href="https://github.com/openai/whisper"