Invicto69 commited on
Commit
4042aa1
·
verified ·
1 Parent(s): ef5ad24

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -0
utils.py CHANGED
@@ -26,6 +26,7 @@ def validate_api_key(api_key:str) -> bool:
26
  get_all_groq_model(api_key=api_key)
27
  return True
28
  except Exception as e:
 
29
  return False
30
 
31
  def validate_uri(uri:str) -> bool:
@@ -33,6 +34,7 @@ def validate_uri(uri:str) -> bool:
33
  SQLDatabase.from_uri(uri)
34
  return True
35
  except Exception as e:
 
36
  return False
37
 
38
  def get_info(uri:str) -> dict[str, str] | None:
 
26
  get_all_groq_model(api_key=api_key)
27
  return True
28
  except Exception as e:
29
+ print(e)
30
  return False
31
 
32
  def validate_uri(uri:str) -> bool:
 
34
  SQLDatabase.from_uri(uri)
35
  return True
36
  except Exception as e:
37
+ print(e)
38
  return False
39
 
40
  def get_info(uri:str) -> dict[str, str] | None: