Spaces:
Runtime error
Runtime error
Update tools.py
Browse files
tools.py
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- IMPORTS --- #
|
| 2 |
+
from langchain.tools import DuckDuckGoSearchResults, WikipediaQueryRun
|
| 3 |
+
from langchain.utilities import WikipediaAPIWrapper
|
| 4 |
+
from PIL import Image
|
| 5 |
+
import re
|
| 6 |
+
import time
|
| 7 |
+
import json
|
| 8 |
+
import pandas as pd
|
| 9 |
+
from pathlib import Path
|
| 10 |
+
from typing import List, Dict, Optional, Union
|
| 11 |
+
from tabulate import tabulate
|
| 12 |
+
import whisper
|
| 13 |
+
import numpy as np
|
| 14 |
+
import os
|