-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/silasalberti/gpt3-makeathon …
…into main
- Loading branch information
Showing
15 changed files
with
311 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM python:latest | ||
|
||
RUN pip install --upgrade pip | ||
|
||
COPY . /usr/src/app | ||
|
||
RUN CFLAGS="-Wno-narrowing" pip install cld2-cffi | ||
RUN pip install -r /usr/src/app/requirements.txt | ||
RUN pip install slackers | ||
RUN pip install pandas | ||
RUN pip install docx | ||
EXPOSE 5000 | ||
WORKDIR /usr/src/app | ||
CMD ["uvicorn", "index:app", "--host", "0.0.0.0" ,"--port", "5000", "--log-level", "info"] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
certifi==2020.12.5 | ||
cffi==1.14.5 | ||
chardet==4.0.0 | ||
cld2-cffi==0.1.4 | ||
click==7.1.2 | ||
fastapi==0.63.0 | ||
h11==0.12.0 | ||
idna==2.10 | ||
joblib==1.0.1 | ||
multi-rake==0.0.1 | ||
nltk==3.6.1 | ||
numpy==1.20.2 | ||
openai==0.6.3 | ||
pycparser==2.20 | ||
pydantic==1.8.1 | ||
pyrsistent==0.17.3 | ||
python-dotenv==0.17.0 | ||
regex==2021.4.4 | ||
requests==2.25.1 | ||
six==1.15.0 | ||
starlette==0.13.6 | ||
tqdm==4.60.0 | ||
typing-extensions==3.7.4.3 | ||
uvicorn==0.13.4 | ||
python-dotenv==0.17.0 | ||
openai==0.6.3 | ||
urllib3==1.26.4 | ||
uvicorn==0.13.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export const BASE_URL = 'http://localhost:5000'; | ||
export const BASE_URL = 'http://192.168.0.218:5000'; | ||
export const QUESTION_ENDPOINT = '/api/question'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.