Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from PIL import Image
|
3 |
import base64
|
@@ -59,7 +61,7 @@ label_image_description_audio_sorted = sorted(label_image_description_audio, key
|
|
59 |
|
60 |
# Function to check the order
|
61 |
def check_order(a, b, c, d):
|
62 |
-
user_order = [a, b, c, d]
|
63 |
correct_order = ['B', 'D', 'A', 'C']
|
64 |
return "Correct!" if user_order == correct_order else "Try again."
|
65 |
|
|
|
1 |
+
|
2 |
+
|
3 |
import gradio as gr
|
4 |
from PIL import Image
|
5 |
import base64
|
|
|
61 |
|
62 |
# Function to check the order
|
63 |
def check_order(a, b, c, d):
|
64 |
+
user_order = [a.upper(), b.upper(), c.upper(), d.upper()]
|
65 |
correct_order = ['B', 'D', 'A', 'C']
|
66 |
return "Correct!" if user_order == correct_order else "Try again."
|
67 |
|