Spaces:
Runtime error
Runtime error
remove loaddotenv call
Browse files
app.py
CHANGED
|
@@ -2,7 +2,6 @@ import os
|
|
| 2 |
import gradio as gr
|
| 3 |
import requests
|
| 4 |
import pandas as pd
|
| 5 |
-
from dotenv import load_dotenv
|
| 6 |
from smolagents import CodeAgent, OpenAIServerModel, DuckDuckGoSearchTool, VisitWebpageTool, tool, \
|
| 7 |
FinalAnswerTool, PythonInterpreterTool, SpeechToTextTool
|
| 8 |
import yaml
|
|
@@ -15,7 +14,6 @@ from youtube_transcript_api._errors import TranscriptsDisabled, NoTranscriptFoun
|
|
| 15 |
from urllib.parse import urlparse, parse_qs
|
| 16 |
import json
|
| 17 |
|
| 18 |
-
load_dotenv()
|
| 19 |
|
| 20 |
# (Keep Constants as is)
|
| 21 |
# --- Constants ---
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
import requests
|
| 4 |
import pandas as pd
|
|
|
|
| 5 |
from smolagents import CodeAgent, OpenAIServerModel, DuckDuckGoSearchTool, VisitWebpageTool, tool, \
|
| 6 |
FinalAnswerTool, PythonInterpreterTool, SpeechToTextTool
|
| 7 |
import yaml
|
|
|
|
| 14 |
from urllib.parse import urlparse, parse_qs
|
| 15 |
import json
|
| 16 |
|
|
|
|
| 17 |
|
| 18 |
# (Keep Constants as is)
|
| 19 |
# --- Constants ---
|