Update app.py
Browse files
app.py
CHANGED
@@ -119,12 +119,11 @@ def process_document(pdf_file, api_key, voice_choice, style_choice, chunk_size,
|
|
119 |
return None, None, f"Error: {str(e)}"
|
120 |
|
121 |
with gr.Blocks(theme=gr.themes.Base()) as demo:
|
122 |
-
gr.
|
123 |
"""
|
124 |
-
<div
|
125 |
-
<img src="https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/source/data/pixeltable-logo-large.png"
|
126 |
-
|
127 |
-
<h1>📄 Document to Audio Synthesis 🎧</h1>
|
128 |
</div>
|
129 |
"""
|
130 |
)
|
|
|
119 |
return None, None, f"Error: {str(e)}"
|
120 |
|
121 |
with gr.Blocks(theme=gr.themes.Base()) as demo:
|
122 |
+
gr.Markdown(
|
123 |
"""
|
124 |
+
<div>
|
125 |
+
<img src="https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/source/data/pixeltable-logo-large.png" alt="Pixeltable" style="max-width: 200px; margin-bottom: 20px;" />
|
126 |
+
<h1 style="margin-bottom: 0.5em;">📄 Document to Audio Synthesis 🎧<</h1>
|
|
|
127 |
</div>
|
128 |
"""
|
129 |
)
|