Ankur Mahanta commited on
Commit ·
eebfeee
1
Parent(s): 82edbbb
Fix f-string syntax in export content
Browse files
app.py
CHANGED
|
@@ -508,12 +508,12 @@ async def serve(q: Q):
|
|
| 508 |
|
| 509 |
# Create full export content
|
| 510 |
export_content = f'''YouTube Video Transcript Chatbot
|
| 511 |
-
|
| 512 |
Transcript:
|
| 513 |
{q.client.transcript}
|
| 514 |
|
| 515 |
Chat History:
|
| 516 |
-
{
|
| 517 |
|
| 518 |
q.page['export'] = ui.form_card(
|
| 519 |
box='1 13 12 2',
|
|
|
|
| 508 |
|
| 509 |
# Create full export content
|
| 510 |
export_content = f'''YouTube Video Transcript Chatbot
|
| 511 |
+
|
| 512 |
Transcript:
|
| 513 |
{q.client.transcript}
|
| 514 |
|
| 515 |
Chat History:
|
| 516 |
+
{chat_history_text}'''
|
| 517 |
|
| 518 |
q.page['export'] = ui.form_card(
|
| 519 |
box='1 13 12 2',
|