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

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
  return returntext
20
 
21
  iface = gr.Interface(
 
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
 
22
  iface = gr.Interface(