add support for huggingface
Browse files- .gitpod.yml +11 -0
- Dockerfile +11 -0
- README.md +8 -0
.gitpod.yml
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This configuration file was automatically generated by Gitpod.
|
2 |
+
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
|
3 |
+
# and commit this file to your remote git repository to share the goodness with others.
|
4 |
+
|
5 |
+
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
|
6 |
+
|
7 |
+
tasks:
|
8 |
+
- init: pip install -r requirements.txt
|
9 |
+
command: python main.py
|
10 |
+
|
11 |
+
|
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:latest
|
2 |
+
|
3 |
+
COPY . /app
|
4 |
+
|
5 |
+
WORKDIR /app
|
6 |
+
|
7 |
+
RUN pip install -r requirements.txt
|
8 |
+
|
9 |
+
ENTRYPOINT [ "uvicorn" ]
|
10 |
+
|
11 |
+
CMD [ "app.main:app", "--host", "0.0.0.0" ]
|
README.md
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Freedom AI
|
2 |
|
3 |
## Installation
|
|
|
1 |
+
---
|
2 |
+
title: Freedom AI
|
3 |
+
emoji: 😍
|
4 |
+
colorFrom: green
|
5 |
+
colorTo: green
|
6 |
+
sdk: docker
|
7 |
+
app_port: 8000
|
8 |
+
---
|
9 |
# Freedom AI
|
10 |
|
11 |
## Installation
|