antonbol commited on
Commit
c8a97fa
·
1 Parent(s): c24de0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ def transcribe(audio, img):
16
  returntext = "Du svarade fel, ditt svar var: " + text + ", rätt svar var: " + image
17
  else:
18
  returntext = "Du hade rätt, svaret var: " + image
 
19
  image = random.choice(images)
20
  return returntext
21
 
 
16
  returntext = "Du svarade fel, ditt svar var: " + text + ", rätt svar var: " + image
17
  else:
18
  returntext = "Du hade rätt, svaret var: " + image
19
+ global image
20
  image = random.choice(images)
21
  return returntext
22