Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import matplotlib.pyplot as plt
|
|
8 |
|
9 |
def get_digit(digit_choice):
|
10 |
digit = train_images[digit_choice]
|
11 |
-
fig = plt.figure(
|
12 |
plt.imshow(digit)
|
13 |
out_txt = "digit: %d" % digit_choice
|
14 |
return fig, out_txt
|
|
|
8 |
|
9 |
def get_digit(digit_choice):
|
10 |
digit = train_images[digit_choice]
|
11 |
+
fig = plt.figure()
|
12 |
plt.imshow(digit)
|
13 |
out_txt = "digit: %d" % digit_choice
|
14 |
return fig, out_txt
|