EtienneB commited on
Commit
4f3eff1
·
1 Parent(s): dab4f7f

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +2 -2
tools.py CHANGED
@@ -744,7 +744,7 @@ def analyze_csv_file(file_path: str, query: str) -> str:
744
  except Exception as e:
745
  return f"Error analyzing CSV file: {str(e)}"
746
 
747
-
748
  # Extract Text Tool
749
  vision_llm = ChatGoogleGenerativeAI(model="gemini-1.5-pro",temperature=0)
750
 
@@ -801,7 +801,7 @@ def extract_text_from_image(img_path: str) -> str:
801
  error_msg = f"Error extracting text: {str(e)}"
802
  print(error_msg)
803
  return ""
804
-
805
 
806
  @tool
807
  def reverse_sentence(text: str) -> str:
 
744
  except Exception as e:
745
  return f"Error analyzing CSV file: {str(e)}"
746
 
747
+ '''
748
  # Extract Text Tool
749
  vision_llm = ChatGoogleGenerativeAI(model="gemini-1.5-pro",temperature=0)
750
 
 
801
  error_msg = f"Error extracting text: {str(e)}"
802
  print(error_msg)
803
  return ""
804
+ '''
805
 
806
  @tool
807
  def reverse_sentence(text: str) -> str: