Update app.js
Browse files
app.js
CHANGED
|
@@ -194,7 +194,7 @@ function buildSpecialtyPct() {
|
|
| 194 |
const HF_API_URL = "https://api-inference.huggingface.co/models/pfizer-project-team/binary-segA-vs-segBC";
|
| 195 |
// Note: If your model is private, you need a token. If it's public, you might not need it,
|
| 196 |
// but it is highly recommended to avoid rate limits.
|
| 197 |
-
const HF_TOKEN =
|
| 198 |
|
| 199 |
async function runModelPrediction() {
|
| 200 |
const resultDiv = document.getElementById('prediction-result');
|
|
|
|
| 194 |
const HF_API_URL = "https://api-inference.huggingface.co/models/pfizer-project-team/binary-segA-vs-segBC";
|
| 195 |
// Note: If your model is private, you need a token. If it's public, you might not need it,
|
| 196 |
// but it is highly recommended to avoid rate limits.
|
| 197 |
+
const HF_TOKEN = HF_API_TOKEN;
|
| 198 |
|
| 199 |
async function runModelPrediction() {
|
| 200 |
const resultDiv = document.getElementById('prediction-result');
|