Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -55,7 +55,7 @@ async def crawl(input: CrawlerInput, api_key: str = Depends(verify_api_key)):
|
|
| 55 |
result = await crawler.arun(
|
| 56 |
url=input.url,
|
| 57 |
extraction_strategy=LLMExtractionStrategy(
|
| 58 |
-
provider="openai/gpt-
|
| 59 |
api_token=os.getenv('OPENAI_API_KEY'),
|
| 60 |
schema=dynamic_model.schema(),
|
| 61 |
extraction_type="schema",
|
|
|
|
| 55 |
result = await crawler.arun(
|
| 56 |
url=input.url,
|
| 57 |
extraction_strategy=LLMExtractionStrategy(
|
| 58 |
+
provider="openai/gpt-4o-mini",
|
| 59 |
api_token=os.getenv('OPENAI_API_KEY'),
|
| 60 |
schema=dynamic_model.schema(),
|
| 61 |
extraction_type="schema",
|