Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|