Update my Project file.
Browse files
app.py
CHANGED
@@ -1,11 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
import pickle
|
4 |
-
import torch
|
5 |
-
from tim import create_model
|
6 |
-
from tim.data import create_transform
|
7 |
|
8 |
-
IMAGENET_1K_URL ="https://user-images.githubusercontent.com/115732734/271723332-6c824e95-5e2f-48ec-af1c-b66ac7db1d7a.jpeg"
|
9 |
|
10 |
# Load the model and encoder and scaler
|
11 |
model = pickle.load(open("model.pkl", "rb"))
|
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
import pickle
|
|
|
|
|
|
|
4 |
|
|
|
5 |
|
6 |
# Load the model and encoder and scaler
|
7 |
model = pickle.load(open("model.pkl", "rb"))
|