abdo-Mansour commited on
Commit
5d62a8e
·
1 Parent(s): 03d1834
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -47,6 +47,7 @@ def webpage_to_json(content: str, is_url: bool, schema_name: str) -> Dict[str, A
47
  # Initialize pipeline components
48
  preprocessor = BasicPreprocessor(config={'keep_tags': False})
49
  try:
 
50
  llm = GeminiLLMClient(config={'api_key': os.getenv('GEMINI_API_KEY')})
51
  except Exception as e:
52
  return {"error": f"Failed to initialize LLM client: {str(e)}"}
 
47
  # Initialize pipeline components
48
  preprocessor = BasicPreprocessor(config={'keep_tags': False})
49
  try:
50
+ print("Here is your API", os.getenv('GEMINI_API_KEY'))
51
  llm = GeminiLLMClient(config={'api_key': os.getenv('GEMINI_API_KEY')})
52
  except Exception as e:
53
  return {"error": f"Failed to initialize LLM client: {str(e)}"}