Skip to content

Commit

Permalink
Merge pull request #3663 from ProjectSidewalk/labelaid-fix-ort-import
Browse files Browse the repository at this point in the history
Now only importing onnxruntime on crowdstudy server
  • Loading branch information
misaugstad authored Sep 23, 2024
2 parents 43adce1 + 7bd7911 commit 3fbe1e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/explore.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<link rel="stylesheet" href='@routes.Assets.at("javascripts/SVLabel/build/SVLabel.css")'/>
<link rel="stylesheet" href='@routes.Assets.at("stylesheets/animate.css")'/>

<script src="https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.min.js"></script>
@if(currentCity.cityId == "crowdstudy") {
<script src="https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.min.js"></script>
}

<script>
// Setup necessary for saving crops of GSV. We don't want to cause issues if this fails.
Expand Down

0 comments on commit 3fbe1e5

Please sign in to comment.