Ezi Ozoani commited on
Commit
be7bb76
·
1 Parent(s): 08d7436
__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("WEBHOOK_SECRET")
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
- huggingface_hub==0.11.*
2
- fastapi==0.74.*
3
- requests==2.27.*
4
- uvicorn[standard]==0.17.*
5
- tabulate==0.9.0
 
 
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("WEBHOOK_SECRET")
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