Spaces:
Sleeping
Sleeping
Added "import torch from torchvision" and "import transforms"
Browse files
app.py
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
# from transformers import TFAutoModel
|
|
|
|
|
|
|
| 3 |
import tensorflow as tf
|
| 4 |
|
| 5 |
model_path = "./4-15_ViT-B16_Lung3_v1"
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
# from transformers import TFAutoModel
|
| 3 |
+
import torch
|
| 4 |
+
from torchvision import transforms
|
| 5 |
import tensorflow as tf
|
| 6 |
|
| 7 |
model_path = "./4-15_ViT-B16_Lung3_v1"
|