Spaces:
Build error
Build error
New lib dotenv
Browse files- app.py +3 -0
- requirements.txt +1 -0
app.py
CHANGED
@@ -6,6 +6,9 @@ import gradio as gr
|
|
6 |
from gradio import routes
|
7 |
import spacy # noqa
|
8 |
from typing import List, Type
|
|
|
|
|
|
|
9 |
|
10 |
TOKENS2INT_ERROR_INT = 32202
|
11 |
|
|
|
6 |
from gradio import routes
|
7 |
import spacy # noqa
|
8 |
from typing import List, Type
|
9 |
+
from dotenv import load_dotenv
|
10 |
+
|
11 |
+
load_dotenv()
|
12 |
|
13 |
TOKENS2INT_ERROR_INT = 32202
|
14 |
|
requirements.txt
CHANGED
@@ -2,3 +2,4 @@ spacy
|
|
2 |
pandas
|
3 |
pandas-gbq
|
4 |
gradio>=3.0.2,<3.1.0
|
|
|
|
2 |
pandas
|
3 |
pandas-gbq
|
4 |
gradio>=3.0.2,<3.1.0
|
5 |
+
python-dotenv
|