Spaces:
Running
Running
janashraff
commited on
Commit
·
1af8470
1
Parent(s):
e1fff8c
naming
Browse files
app.py
CHANGED
|
@@ -324,9 +324,9 @@ def gradio_handler(age, gender, topic, pdf_file, progress=gr.Progress()):
|
|
| 324 |
with gr.Blocks() as demo:
|
| 325 |
gr.Markdown(
|
| 326 |
"""
|
| 327 |
-
<h1 style='text-align:center;'
|
| 328 |
<p style='text-align:center; font-size:18px;'>
|
| 329 |
-
Watch the agent
|
| 330 |
</p>
|
| 331 |
"""
|
| 332 |
)
|
|
@@ -336,7 +336,7 @@ with gr.Blocks() as demo:
|
|
| 336 |
gr.Markdown("### Student Configuration")
|
| 337 |
age = gr.Number(label="Student Age", value=12, minimum=5, maximum=18)
|
| 338 |
gender = gr.Radio(["male", "female"], value="female", label="Student Gender")
|
| 339 |
-
topic = gr.Textbox(label="Topic / Concept", placeholder="e.g.,
|
| 340 |
pdf_input = gr.File(label="Upload Lecture PDF", file_types=[".pdf"])
|
| 341 |
generate_btn = gr.Button("Start Autonomous Agent", variant="primary", size="lg")
|
| 342 |
|
|
|
|
| 324 |
with gr.Blocks() as demo:
|
| 325 |
gr.Markdown(
|
| 326 |
"""
|
| 327 |
+
<h1 style='text-align:center;'>Lecturify</h1>
|
| 328 |
<p style='text-align:center; font-size:18px;'>
|
| 329 |
+
Watch the agent autonomously reason, plan, and execute to create educational audio stories from boring PDF.<br>
|
| 330 |
</p>
|
| 331 |
"""
|
| 332 |
)
|
|
|
|
| 336 |
gr.Markdown("### Student Configuration")
|
| 337 |
age = gr.Number(label="Student Age", value=12, minimum=5, maximum=18)
|
| 338 |
gender = gr.Radio(["male", "female"], value="female", label="Student Gender")
|
| 339 |
+
topic = gr.Textbox(label="Topic / Concept", placeholder="e.g., Introduction to chemical reactions...")
|
| 340 |
pdf_input = gr.File(label="Upload Lecture PDF", file_types=[".pdf"])
|
| 341 |
generate_btn = gr.Button("Start Autonomous Agent", variant="primary", size="lg")
|
| 342 |
|