Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def plot():
|
|
44 |
cm = confusion_matrix(actual, pred)
|
45 |
disp = ConfusionMatrixDisplay(confusion_matrix=cm)
|
46 |
disp.plot()
|
47 |
-
return plt.
|
48 |
|
49 |
|
50 |
demo = gr.Blocks()
|
|
|
44 |
cm = confusion_matrix(actual, pred)
|
45 |
disp = ConfusionMatrixDisplay(confusion_matrix=cm)
|
46 |
disp.plot()
|
47 |
+
return plt.gcf()
|
48 |
|
49 |
|
50 |
demo = gr.Blocks()
|