Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,13 +6,7 @@ import pandas as pd
|
|
| 6 |
import time
|
| 7 |
from smolagents import CodeAgent, OpenAIServerModel, DuckDuckGoSearchTool, GoogleSearchTool, WikipediaSearchTool, VisitWebpageTool, PythonInterpreterTool
|
| 8 |
from smolagents.agents import PromptTemplates
|
| 9 |
-
from tool import
|
| 10 |
-
download_file_from_url,
|
| 11 |
-
extract_text_from_image,
|
| 12 |
-
analyze_csv_file,
|
| 13 |
-
analyze_excel_file,
|
| 14 |
-
extract_video_id,
|
| 15 |
-
get_youtube_transcript)
|
| 16 |
|
| 17 |
|
| 18 |
GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
|
|
|
|
| 6 |
import time
|
| 7 |
from smolagents import CodeAgent, OpenAIServerModel, DuckDuckGoSearchTool, GoogleSearchTool, WikipediaSearchTool, VisitWebpageTool, PythonInterpreterTool
|
| 8 |
from smolagents.agents import PromptTemplates
|
| 9 |
+
from tool import save_and_read_file, download_file_from_url, extract_text_from_image, analyze_csv_file, analyze_excel_file, extract_video_id, get_youtube_transcript
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
|