alexanderASI commited on
Commit
6532a8b
·
1 Parent(s): d5d272a

fix: remoute code 'import llama_index'

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -4,8 +4,6 @@ import requests
4
  import inspect
5
  import pandas as pd
6
 
7
- from llama_index.tools.duckduckgo_search import DuckDuckGoSearchToolSpec
8
- from llama_index.core.tools import FunctionTool
9
 
10
  # (Keep Constants as is)
11
  # --- Constants ---
@@ -116,11 +114,9 @@ class BasicAgent:
116
  print(f"Agent generated answer: {answer}")
117
 
118
 
119
-
120
  return answer
121
 
122
 
123
-
124
  def run_and_submit_all( profile: gr.OAuthProfile | None):
125
  """
126
  Fetches all questions, runs the BasicAgent on them, submits all answers,
 
4
  import inspect
5
  import pandas as pd
6
 
 
 
7
 
8
  # (Keep Constants as is)
9
  # --- Constants ---
 
114
  print(f"Agent generated answer: {answer}")
115
 
116
 
 
117
  return answer
118
 
119
 
 
120
  def run_and_submit_all( profile: gr.OAuthProfile | None):
121
  """
122
  Fetches all questions, runs the BasicAgent on them, submits all answers,