Spaces:
Sleeping
Sleeping
Commit
·
c841775
1
Parent(s):
b42b45f
Included requirements.txt
Browse files- app.py +3 -4
- requirements.txt +8 -0
app.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
from tensorflow import keras
|
8 |
from io import BytesIO
|
9 |
import uvicorn
|
10 |
-
from pyModel import Item
|
11 |
|
12 |
|
13 |
|
@@ -85,6 +85,5 @@ def disease_predict(processed_image, crop):
|
|
85 |
return predicted_label
|
86 |
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
# iface.launch(share=True)
|
|
|
7 |
from tensorflow import keras
|
8 |
from io import BytesIO
|
9 |
import uvicorn
|
10 |
+
#from pyModel import Item
|
11 |
|
12 |
|
13 |
|
|
|
85 |
return predicted_label
|
86 |
|
87 |
|
88 |
+
iface = gr.Interface(fn = newPost , inputs=['text'] , outputs=['text'])
|
89 |
+
iface.launch(share=True)
|
|
requirements.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
keras
|
2 |
+
gradio
|
3 |
+
fastapi
|
4 |
+
requests
|
5 |
+
numpy
|
6 |
+
Pillow
|
7 |
+
tensorflow
|
8 |
+
uvicorn
|