teste
Browse files- app.py +1 -14
- model.pkl +0 -3
- requirements.txt +0 -2
app.py
CHANGED
@@ -1,16 +1,3 @@
|
|
1 |
import gradio as gr
|
2 |
-
from fastai.vision.all import *
|
3 |
-
import skimage
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
labels = learn.dls.vocab
|
8 |
-
|
9 |
-
title = "Lesson 4"
|
10 |
-
interpretation='default'
|
11 |
-
enable_queue=True
|
12 |
-
|
13 |
-
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=5),title=title,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
14 |
-
|
15 |
-
iface = gr.Interface(fn=learn)
|
16 |
-
iface.launch()
|
|
|
1 |
import gradio as gr
|
|
|
|
|
2 |
|
3 |
+
gr.Interface.load("models/ErickMVdO/lesson4").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.pkl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:9006ac2b097de5d960033418785a61da2cffecd81898628ffb02b941fd5fdbfa
|
3 |
-
size 567647705
|
|
|
|
|
|
|
|
requirements.txt
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
fastai
|
2 |
-
scikit-image
|
|
|
|
|
|