Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,6 @@ import subprocess
|
|
| 14 |
# subprocess.run('pip3 install datasets timm cv2 huggingface_hub torch pillow matplotlib' ,shell=True)
|
| 15 |
|
| 16 |
import gradio as gr
|
| 17 |
-
from timm import create_model
|
| 18 |
from huggingface_hub import hf_hub_download
|
| 19 |
from datasets import load_dataset
|
| 20 |
import torch
|
|
@@ -23,6 +22,7 @@ import cv2
|
|
| 23 |
import matplotlib.pyplot as plt
|
| 24 |
import numpy as np
|
| 25 |
from PIL import Image
|
|
|
|
| 26 |
|
| 27 |
|
| 28 |
|
|
|
|
| 14 |
# subprocess.run('pip3 install datasets timm cv2 huggingface_hub torch pillow matplotlib' ,shell=True)
|
| 15 |
|
| 16 |
import gradio as gr
|
|
|
|
| 17 |
from huggingface_hub import hf_hub_download
|
| 18 |
from datasets import load_dataset
|
| 19 |
import torch
|
|
|
|
| 22 |
import matplotlib.pyplot as plt
|
| 23 |
import numpy as np
|
| 24 |
from PIL import Image
|
| 25 |
+
from timm import create_model
|
| 26 |
|
| 27 |
|
| 28 |
|