Spaces:
Paused
Paused
prabinpanta0
commited on
Commit
•
7ad0570
1
Parent(s):
e539434
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
from flask import Flask, render_template, request, jsonify
|
2 |
from form_filler import FormFiller
|
3 |
import threading
|
|
|
|
|
|
|
|
|
4 |
|
5 |
app = Flask(__name__)
|
6 |
form_filler = FormFiller()
|
|
|
1 |
from flask import Flask, render_template, request, jsonify
|
2 |
from form_filler import FormFiller
|
3 |
import threading
|
4 |
+
import os
|
5 |
+
|
6 |
+
# Specify the cache directory as an environment variable
|
7 |
+
os.environ['CACHE_FOLDER'] = os.path.join(os.getcwd(), '.cache')
|
8 |
|
9 |
app = Flask(__name__)
|
10 |
form_filler = FormFiller()
|