Spaces:
Build error
Build error
Update chat/templates/chat.html
Browse files- chat/templates/chat.html +4 -4
chat/templates/chat.html
CHANGED
|
@@ -384,10 +384,10 @@
|
|
| 384 |
}
|
| 385 |
|
| 386 |
// Set file metadata from Django context
|
| 387 |
-
const fileName = "{{
|
| 388 |
-
const fileSize = "{{
|
| 389 |
-
const fileType = "{{
|
| 390 |
-
const fileExt = "{{
|
| 391 |
|
| 392 |
const metadata = {
|
| 393 |
fileName: fileName,
|
|
|
|
| 384 |
}
|
| 385 |
|
| 386 |
// Set file metadata from Django context
|
| 387 |
+
const fileName = "{{file_name}}";
|
| 388 |
+
const fileSize = "{{file_size}}";
|
| 389 |
+
const fileType = "{{file_type}}";
|
| 390 |
+
const fileExt = "{{file_extension}}";
|
| 391 |
|
| 392 |
const metadata = {
|
| 393 |
fileName: fileName,
|