Neurolingua commited on
Commit
bcba21f
1 Parent(s): 1afebea

Update other_function.py

Browse files
Files changed (1) hide show
  1. other_function.py +2 -2
other_function.py CHANGED
@@ -65,7 +65,7 @@ def predict_disease(filepath):
65
 
66
 
67
  def convert_img(url, account_sid, auth_token):
68
- try:
69
  # Make the request to the media URL with authentication
70
  response = requests.get(url, auth=HTTPBasicAuth(account_sid, auth_token))
71
  response.raise_for_status() # Raise an error for bad responses
@@ -83,7 +83,7 @@ def convert_img(url, account_sid, auth_token):
83
  print(f"Media downloaded successfully and saved as {txt_filepath}")
84
  return txt_filepath
85
 
86
- except :
87
  return 'errir in process none'
88
 
89
  def get_weather(city):
 
65
 
66
 
67
  def convert_img(url, account_sid, auth_token):
68
+ if 1==1:
69
  # Make the request to the media URL with authentication
70
  response = requests.get(url, auth=HTTPBasicAuth(account_sid, auth_token))
71
  response.raise_for_status() # Raise an error for bad responses
 
83
  print(f"Media downloaded successfully and saved as {txt_filepath}")
84
  return txt_filepath
85
 
86
+ else :
87
  return 'errir in process none'
88
 
89
  def get_weather(city):