Spaces:
Running
Running
Ezi Ozoani
commited on
Commit
·
be7bb76
1
Parent(s):
08d7436
mm
Browse files- __pycache__/main.cpython-310.pyc +0 -0
- __pycache__/server.cpython-310.pyc +0 -0
- main.py +1 -1
- requirements.txt +6 -5
- server.py +1 -1
__pycache__/main.cpython-310.pyc
CHANGED
Binary files a/__pycache__/main.cpython-310.pyc and b/__pycache__/main.cpython-310.pyc differ
|
|
__pycache__/server.cpython-310.pyc
CHANGED
Binary files a/__pycache__/server.cpython-310.pyc and b/__pycache__/server.cpython-310.pyc differ
|
|
main.py
CHANGED
@@ -10,7 +10,7 @@ from huggingface_hub import (DatasetCard, HfApi, ModelCard, comment_discussion,
|
|
10 |
from huggingface_hub.utils import EntryNotFoundError
|
11 |
from tabulate import tabulate
|
12 |
|
13 |
-
KEY = os.environ.get("
|
14 |
#HF_TOKEN = os.environ.get("HF_ACCESS_TOKEN")
|
15 |
|
16 |
#api = HfApi(token=HF_TOKEN)
|
|
|
10 |
from huggingface_hub.utils import EntryNotFoundError
|
11 |
from tabulate import tabulate
|
12 |
|
13 |
+
KEY = os.environ.get("KEY")
|
14 |
#HF_TOKEN = os.environ.get("HF_ACCESS_TOKEN")
|
15 |
|
16 |
#api = HfApi(token=HF_TOKEN)
|
requirements.txt
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
tabulate
|
|
|
|
1 |
+
fastapi
|
2 |
+
uvicorn
|
3 |
+
markdown
|
4 |
+
beautifulsoup4
|
5 |
+
tabulate
|
6 |
+
markdown
|
server.py
CHANGED
@@ -3,7 +3,7 @@ from fastapi import FastAPI, Request, Response
|
|
3 |
from main import create_or_update_report
|
4 |
from tabulate import tabulate
|
5 |
|
6 |
-
KEY = os.environ.get("
|
7 |
|
8 |
app = FastAPI()
|
9 |
|
|
|
3 |
from main import create_or_update_report
|
4 |
from tabulate import tabulate
|
5 |
|
6 |
+
KEY = os.environ.get("KEY")
|
7 |
|
8 |
app = FastAPI()
|
9 |
|