Sushrut98 commited on
Commit
cfeafc3
·
verified ·
1 Parent(s): 31228a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ TinyCNN_model.load_state_dict(
39
  ### 3. Predict function ###
40
 
41
  # Create predict function
42
- def predict(img):
43
  """Transforms and performs a prediction on img and returns prediction and time taken.
44
  """
45
  # Start the timer
 
39
  ### 3. Predict function ###
40
 
41
  # Create predict function
42
+ def predict(img) -> Tuple[Dict, float]:
43
  """Transforms and performs a prediction on img and returns prediction and time taken.
44
  """
45
  # Start the timer