Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,6 @@ def save_to_pdf(text, summary):
|
|
123 |
pdf.output(pdf_output_path)
|
124 |
return pdf_output_path
|
125 |
|
126 |
-
|
127 |
css = """
|
128 |
#transcription_output textarea {
|
129 |
background-color: #000000; /* black */
|
@@ -134,9 +133,10 @@ css = """
|
|
134 |
#system_info_box textarea {
|
135 |
background-color: #ffe0b3; /* orange */
|
136 |
color: black !important; /* text color */
|
137 |
-
font-size:
|
138 |
}
|
139 |
"""
|
|
|
140 |
iface = gr.Blocks(css=css)
|
141 |
|
142 |
with iface:
|
@@ -154,7 +154,7 @@ with iface:
|
|
154 |
''')
|
155 |
microphone = gr.Audio(sources="microphone", type="filepath")
|
156 |
upload = gr.Audio(sources="upload", type="filepath")
|
157 |
-
transcribe_btn = gr.Button("Transkriber
|
158 |
|
159 |
with gr.Row():
|
160 |
with gr.Column(scale=3):
|
|
|
123 |
pdf.output(pdf_output_path)
|
124 |
return pdf_output_path
|
125 |
|
|
|
126 |
css = """
|
127 |
#transcription_output textarea {
|
128 |
background-color: #000000; /* black */
|
|
|
133 |
#system_info_box textarea {
|
134 |
background-color: #ffe0b3; /* orange */
|
135 |
color: black !important; /* text color */
|
136 |
+
font-size: 14px; /* font size */
|
137 |
}
|
138 |
"""
|
139 |
+
|
140 |
iface = gr.Blocks(css=css)
|
141 |
|
142 |
with iface:
|
|
|
154 |
''')
|
155 |
microphone = gr.Audio(sources="microphone", type="filepath")
|
156 |
upload = gr.Audio(sources="upload", type="filepath")
|
157 |
+
transcribe_btn = gr.Button("Transkriber)
|
158 |
|
159 |
with gr.Row():
|
160 |
with gr.Column(scale=3):
|