PierreBrunelle commited on
Commit
df10cdd
·
verified ·
1 Parent(s): 9deed03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
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.HTML(
123
  """
124
- <div style="margin-bottom: 1rem;">
125
- <img src="https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/source/data/pixeltable-logo-large.png"
126
- alt="Pixeltable" style="width="20%" />
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
  )