Skip to content

Python scraper based on AI

removed unused return

VinciGit00f448b8dfb45a
diff --git a/scrapegraphai/builders/graph_builder.py b/scrapegraphai/builders/graph_builder.py
index 56576b4b..8001bc3b 100644
--- a/scrapegraphai/builders/graph_builder.py
+++ b/scrapegraphai/builders/graph_builder.py
@@ -73,8 +73,7 @@ class GraphBuilder:
return OpenAI(llm_params)
elif "gemini" in llm_params["model"]:
return Gemini(llm_params)
- else:
- raise ValueError("Model not supported")
+ raise ValueError("Model not supported")
def _generate_nodes_description(self):
"""