Skip to content

Commit 1bb9d39

Browse files
committed
another quick hotfix
1 parent c006c5e commit 1bb9d39

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
#so you will need to install it with pip install python_weather
1414
#queue to find the right gesture
1515
from collections import deque
16-
16+
deviceChoice = None
17+
deviceStatus = None
1718

1819
#https://colab.research.google.com/github/googlesamples/mediapipe/blob/main/examples/gesture_recognizer/python/gesture_recognizer.ipynb#scrollTo=TUfAcER1oUS6
1920
#https://developers.google.com/mediapipe/solutions/vision/gesture_recognizer/python#video

app/templates/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
<p>Current Gesture: <span id="currentGesture">Waiting...</span></p>
7777
<p>First Gesture: <span id="firstGesture">Waiting...</span></p>
7878
<p>Second Gesture: <span id="secondGesture">Waiting...</span></p>
79-
<p>Device Choice: {{ deviceChoice }}</p>
80-
<p>Device Status: {{ deviceStatus }}</p>
79+
<p>Device Choice: <span id="deviceChoice">Waiting...{{ deviceChoice }}</p>
80+
<p>Device Status: <span id="deviceStatus">Waiting...{{ deviceStatus }}</p>
8181
</div>
8282
</div>
8383

0 commit comments

Comments
 (0)