Matyáš Boháček commited on
Commit
b2bf79b
1 Parent(s): f734927
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -98,9 +98,8 @@ def greet(label, video0, video1):
98
  outputs = model(inputs).expand(1, -1, -1)
99
  results = torch.nn.functional.softmax(outputs, dim=2).detach().numpy()[0, 0]
100
 
101
- # results = {GLOSS[i]: float(results[i]) for i in range(100)}
102
-
103
  #temp
 
104
  results = {GLOSS[i]: float(results[i]) for i in range(15)}
105
  #ende des temps
106
 
@@ -134,7 +133,7 @@ demo = gr.Interface(fn=greet, inputs=[gr.Dropdown(["Webcam", "Video"], label="Pl
134
  @font-face {
135
  font-family: MonumentExpanded;
136
  font-weight: bold;
137
- src: url("https://www.signlanguagerecognition.com/supplementary/MonumentExtended-Bold.otf") format("opentype");
138
  }
139
 
140
  html {
 
98
  outputs = model(inputs).expand(1, -1, -1)
99
  results = torch.nn.functional.softmax(outputs, dim=2).detach().numpy()[0, 0]
100
 
 
 
101
  #temp
102
+ # results = {GLOSS[i]: float(results[i]) for i in range(100)}
103
  results = {GLOSS[i]: float(results[i]) for i in range(15)}
104
  #ende des temps
105
 
 
133
  @font-face {
134
  font-family: MonumentExpanded;
135
  font-weight: bold;
136
+ src: url("https://www.signlanguagerecognition.com/supplementary/MonumentExtended-Ultrabold.otf") format("opentype");
137
  }
138
 
139
  html {