Emma Scharfmann commited on
Commit
bc4bd27
Β·
1 Parent(s): 7a7515d
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. README.md +10 -16
Dockerfile CHANGED
@@ -9,4 +9,4 @@ COPY main.py .
9
 
10
  EXPOSE 7860
11
 
12
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
9
 
10
  EXPOSE 7860
11
 
12
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
README.md CHANGED
@@ -1,17 +1,11 @@
1
- # Hugging Science Feedback API
2
-
3
- Source for the live `hugging-science/feedback-api` Space (Docker SDK), the
4
- backend `src/components/FeedbackWidget.jsx` POSTs to.
5
-
6
- Only change from the previously deployed version: `type: "feedback"`
7
- submissions still go to `feedback.jsonl`, but every content-addition type
8
- (`dataset`, `model`, `organization`, `blog`, `challenge`) now goes to a new
9
- `requests.jsonl` file instead β€” both in the `hugging-science/request`
10
- dataset. The `hugging-science/requests-review` Space (see `../moderation-space/`)
11
- reads `requests.jsonl` to approve/reject those.
12
-
13
- This directory only contains `app.py` β€” merge it into the existing Space
14
- repo's deployment (same `Dockerfile`/`requirements.txt` you already have;
15
- `requirements.txt` here is for reference, no new dependencies were added).
16
-
17
  Required Space secret: `HF_TOKEN` (write-scoped, org `hugging-science`) β€” unchanged.
 
1
+ ---
2
+ title: Request Api
3
+ emoji: πŸ“Š
4
+ colorFrom: purple
5
+ colorTo: yellow
6
+ sdk: docker
7
+ pinned: false
8
+ license: apache-2.0
9
+ short_description: request api for huggingscience website
10
+ ---
 
 
 
 
 
 
11
  Required Space secret: `HF_TOKEN` (write-scoped, org `hugging-science`) β€” unchanged.