yannsay commited on
Commit
993e32e
·
1 Parent(s): 0d7687e

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-floor_classifier.hf.space/run/predict', {
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
  });