Yoon-gu Hwang
commited on
Commit
β’
e48a7e5
1
Parent(s):
19cad62
for debugging
Browse files
app.py
CHANGED
@@ -93,8 +93,10 @@ def write_docx(gen):
|
|
93 |
document.add_page_break()
|
94 |
yield df[['No', 'μ΄λ¦', 'νμ
']], None
|
95 |
|
96 |
-
|
97 |
-
|
|
|
|
|
98 |
return df, filename
|
99 |
|
100 |
demo = gr.Interface(write_docx, generation, [text, download], title="λμΉλ ν¬μΌλͺ¬ λκ° μμ±κΈ°",
|
|
|
93 |
document.add_page_break()
|
94 |
yield df[['No', 'μ΄λ¦', 'νμ
']], None
|
95 |
|
96 |
+
print("Saving docx file...")
|
97 |
+
print(f"{os.listdir()}")
|
98 |
+
document.save(filename)
|
99 |
+
print(f"{os.listdir()}")
|
100 |
return df, filename
|
101 |
|
102 |
demo = gr.Interface(write_docx, generation, [text, download], title="λμΉλ ν¬μΌλͺ¬ λκ° μμ±κΈ°",
|