Spaces:
Sleeping
Sleeping
h3110Fr13nd
commited on
Commit
·
840c7c9
1
Parent(s):
fbc4477
show secrets
Browse files- Dockerfile +0 -2
- main.py +2 -0
Dockerfile
CHANGED
@@ -18,6 +18,4 @@ RUN scrapy crawl pages && \
|
|
18 |
python setup.py
|
19 |
WORKDIR $HOME/app
|
20 |
EXPOSE 7860
|
21 |
-
ENV HF_EMAIL="example@abc.com"
|
22 |
-
ENV HF_PASS="password"
|
23 |
CMD ["python", "main.py"]
|
|
|
18 |
python setup.py
|
19 |
WORKDIR $HOME/app
|
20 |
EXPOSE 7860
|
|
|
|
|
21 |
CMD ["python", "main.py"]
|
main.py
CHANGED
@@ -26,6 +26,8 @@ langchain.debug = True
|
|
26 |
|
27 |
dotenv.load_dotenv()
|
28 |
|
|
|
|
|
29 |
|
30 |
class GradioApp:
|
31 |
def __init__(self):
|
|
|
26 |
|
27 |
dotenv.load_dotenv()
|
28 |
|
29 |
+
print(os.getenv("HF_EMAIL"))
|
30 |
+
print(os.getenv("HF_PASS"))
|
31 |
|
32 |
class GradioApp:
|
33 |
def __init__(self):
|