jays009 commited on
Commit
5049fb3
·
verified ·
1 Parent(s): 87e4f7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def predict(image):
66
 
67
  # Check if the input is a URL
68
  if isinstance(image_input, str):
69
- if image_input.startswith("http://") or image_input.startswith("https://"):
70
  try:
71
  response = requests.get(image_input)
72
  response.raise_for_status() # Check for HTTP errors
 
66
 
67
  # Check if the input is a URL
68
  if isinstance(image_input, str):
69
+ if image_input.startswith("http://") or image_input.startswith("https://"):
70
  try:
71
  response = requests.get(image_input)
72
  response.raise_for_status() # Check for HTTP errors