theophilusowiti commited on
Commit
0811a6f
·
verified ·
1 Parent(s): 0fda5bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -15
README.md CHANGED
@@ -100,18 +100,4 @@ print(f"Predicted Language: {predict(text)}")
100
 
101
  ### Inference API
102
 
103
- ```python
104
- import requests
105
-
106
- # Clean URL without Markdown brackets or parentheses
107
- API_URL = "https://router.huggingface.co/models/amidblue/ke-lang-id"
108
- headers = {"Authorization": "Bearer YOUR_HF_TOKEN"}
109
-
110
- def query(payload):
111
- response = requests.post(API_URL, headers=headers, json=payload)
112
- return response.json()
113
-
114
- output = query({"inputs": "Kuna tashwishi ambao umetokea"})
115
- print(output)
116
-
117
- ```
 
100
 
101
  ### Inference API
102
 
103
+ The model is not available under this category and we would suggest that users should use the above approach for referencing, but if you want to test the model real quick use the link to the demo provided on the right.