OnabajoMonsurat
commited on
Commit
•
dda10fc
1
Parent(s):
34f9c66
Change typings-typing libary
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
|
7 |
from model import create_effnetb2_model
|
8 |
from timeit import default_timer as timer
|
9 |
-
from
|
10 |
|
11 |
# Setup class names
|
12 |
class_names= ['pizza', 'steak', 'sushi']
|
@@ -68,5 +68,4 @@ demo= gr.Interface(fn= predict,
|
|
68 |
|
69 |
# Launch the demo
|
70 |
#demo.launch()
|
71 |
-
demo.launch(debug=False
|
72 |
-
share=True) # generate a publically shareable URL?
|
|
|
6 |
|
7 |
from model import create_effnetb2_model
|
8 |
from timeit import default_timer as timer
|
9 |
+
from typing import Tuple, Dict
|
10 |
|
11 |
# Setup class names
|
12 |
class_names= ['pizza', 'steak', 'sushi']
|
|
|
68 |
|
69 |
# Launch the demo
|
70 |
#demo.launch()
|
71 |
+
demo.launch(debug=False)
|
|