brendon-ai commited on
Commit
c4bd657
·
verified ·
1 Parent(s): 119dbbc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -17,7 +17,7 @@ This Space hosts a FastAPI application that performs Masked Language Modeling us
17
  Returns a simple message to confirm the API is running.
18
  Example: `curl https://brendon-ai-faq.hf.space/health`
19
 
20
- * **Predict (POST /):**
21
  Accepts a JSON payload with a `text` field containing a sentence with `[MASK]` tokens.
22
  Returns a list of top 5 predictions for each masked position.
23
 
@@ -26,7 +26,7 @@ This Space hosts a FastAPI application that performs Masked Language Modeling us
26
  curl -X POST \
27
  -H "Content-Type: application/json" \
28
  -d '{"text": "The quick brown fox jumps over the [MASK] dog."}' \
29
- [https://brendon-ai-faq.hf.space/](https://brendon-ai-faq.hf.space/)
30
  ```
31
 
32
  ## Interactive API Documentation:
 
17
  Returns a simple message to confirm the API is running.
18
  Example: `curl https://brendon-ai-faq.hf.space/health`
19
 
20
+ * **Predict (POST /predict):**
21
  Accepts a JSON payload with a `text` field containing a sentence with `[MASK]` tokens.
22
  Returns a list of top 5 predictions for each masked position.
23
 
 
26
  curl -X POST \
27
  -H "Content-Type: application/json" \
28
  -d '{"text": "The quick brown fox jumps over the [MASK] dog."}' \
29
+ [https://brendon-ai-faq.hf.space/predict](https://brendon-ai-faq.hf.space/predict)
30
  ```
31
 
32
  ## Interactive API Documentation: