Spaces:
Runtime error
Runtime error
knowsuchagency
commited on
Commit
•
5cb24e8
1
Parent(s):
fb76d6c
feat: Add description to Gradio interface configuration
Browse files
main.py
CHANGED
@@ -108,9 +108,15 @@ def generate_audio(file: bytes, openai_api_key: str = None) -> bytes:
|
|
108 |
|
109 |
return audio, transcript
|
110 |
|
|
|
|
|
|
|
|
|
|
|
111 |
|
112 |
demo = gr.Interface(
|
113 |
title="PDF to Podcast",
|
|
|
114 |
fn=generate_audio,
|
115 |
inputs=[
|
116 |
gr.File(
|
|
|
108 |
|
109 |
return audio, transcript
|
110 |
|
111 |
+
description = """
|
112 |
+
<p style="text-align:center">
|
113 |
+
<strong>Convert any PDF into a podcast episode! Experience research papers, websites, and more in a whole new way.</strong>
|
114 |
+
</p>
|
115 |
+
"""
|
116 |
|
117 |
demo = gr.Interface(
|
118 |
title="PDF to Podcast",
|
119 |
+
description=description,
|
120 |
fn=generate_audio,
|
121 |
inputs=[
|
122 |
gr.File(
|