Commit ·
38404e5
1
Parent(s): 9955f10
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
#Importing necessary libraries
|
| 2 |
import gradio as gr
|
| 3 |
#import scikit-learn as sklearn
|
| 4 |
-
|
| 5 |
-
from
|
| 6 |
|
| 7 |
#Define dependent functions
|
| 8 |
def get_x(row): return Path(str(path/f"{row['rootname']}_small"/f"{row['ID']}") + ".png")
|
|
|
|
| 1 |
#Importing necessary libraries
|
| 2 |
import gradio as gr
|
| 3 |
#import scikit-learn as sklearn
|
| 4 |
+
from fastai.vision.all import *
|
| 5 |
+
from scikit-learn.metrics import roc_auc_score
|
| 6 |
|
| 7 |
#Define dependent functions
|
| 8 |
def get_x(row): return Path(str(path/f"{row['rootname']}_small"/f"{row['ID']}") + ".png")
|