Adityadn commited on
Commit
2a5a017
·
verified ·
1 Parent(s): 5f9d940

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -3,6 +3,8 @@ import pypandoc
3
  import os
4
  # from pdf2docx import Converter
5
 
 
 
6
  # Daftar format yang didukung
7
  input_supported_formats = [data.upper() for data in sorted(list(pypandoc.get_pandoc_formats()[0]) or [
8
  'BIBLATEX', 'BIBTEX', 'BITS', 'COMMONMARK', 'COMMONMARK_X', 'CREOLE', 'CSLJSON', 'CSV',
 
3
  import os
4
  # from pdf2docx import Converter
5
 
6
+ pypandoc.download_pandoc()
7
+
8
  # Daftar format yang didukung
9
  input_supported_formats = [data.upper() for data in sorted(list(pypandoc.get_pandoc_formats()[0]) or [
10
  'BIBLATEX', 'BIBTEX', 'BITS', 'COMMONMARK', 'COMMONMARK_X', 'CREOLE', 'CSLJSON', 'CSV',