Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
import tensorflow as tf
|
3 |
-
import os
|
4 |
-
import keras
|
5 |
import gdown
|
6 |
from PIL import Image
|
7 |
import pillow_avif
|
@@ -24,7 +22,6 @@ labels = {
|
|
24 |
|
25 |
# Download the model file
|
26 |
def download_model():
|
27 |
-
#url = "https://drive.google.com/uc?id=12700bE-pomYKoVQ214VrpBoJ7akXcTpL"
|
28 |
url = "https://drive.google.com/uc?id=1fclkgIgUo26g014beN8UhCJ2TfvGG2sG"
|
29 |
output = "modelV2Lmixed.keras"
|
30 |
gdown.download(url, output, quiet=False)
|
|
|
1 |
import gradio as gr
|
2 |
import tensorflow as tf
|
|
|
|
|
3 |
import gdown
|
4 |
from PIL import Image
|
5 |
import pillow_avif
|
|
|
22 |
|
23 |
# Download the model file
|
24 |
def download_model():
|
|
|
25 |
url = "https://drive.google.com/uc?id=1fclkgIgUo26g014beN8UhCJ2TfvGG2sG"
|
26 |
output = "modelV2Lmixed.keras"
|
27 |
gdown.download(url, output, quiet=False)
|