Persano commited on
Commit
b5871c4
·
verified ·
1 Parent(s): f13ed7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,6 +1,8 @@
1
 
2
 
3
-
 
 
4
 
5
 
6
  from flask import Flask, render_template, request, send_file
 
1
 
2
 
3
+ import os
4
+ os.environ['FONTCONFIG_PATH'] = '/tmp/fontconfig'
5
+ os.makedirs('/tmp/fontconfig', exist_ok=True)
6
 
7
 
8
  from flask import Flask, render_template, request, send_file