Spaces:
Runtime error
Runtime error
updating apiendpoint and name.html
Browse files
1single.html → dollar-street_floor-classifier.html
RENAMED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<div id="results"></div>
|
| 3 |
<script>
|
| 4 |
async function loaded(reader) {
|
| 5 |
-
const response = await fetch('https://yannsay-
|
| 6 |
method: "POST", body: JSON.stringify({ "data": [reader.result] }),
|
| 7 |
headers: { "Content-Type": "application/json" }
|
| 8 |
});
|
|
|
|
| 2 |
<div id="results"></div>
|
| 3 |
<script>
|
| 4 |
async function loaded(reader) {
|
| 5 |
+
const response = await fetch('https://yannsay-floor-classifier.hf.space/api/predict', {
|
| 6 |
method: "POST", body: JSON.stringify({ "data": [reader.result] }),
|
| 7 |
headers: { "Content-Type": "application/json" }
|
| 8 |
});
|