Skip to content

Commit 7d521ef

Browse files
committed
2 parents 74ec928 + 4e57b56 commit 7d521ef

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM python:3.11-slim
2+
3+
RUN apt-get update && apt-get upgrade -y && \
4+
useradd -m -s /bin/bash app
5+
6+
USER app
7+
8+
RUN pip install scrapegraphai

examples/gemini/smart_scraper_gemini.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
# Define the configuration for the graph
1313
# ************************************************
1414

15-
openai_key = os.getenv("OPENAI_APIKEY")
15+
gemini_key = os.getenv("GOOGLE_APIKEY")
1616

1717
graph_config = {
1818
"llm": {
19-
"api_key": openai_key,
19+
"api_key": gemini_key,
2020
"model": "gpt-3.5-turbo",
2121
},
2222
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "scrapegraphai"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
description = "A web scraping library based on LangChain which uses LLM and direct graph logic to create scraping pipelines."
55
authors = [
66
"Marco Vinciguerra <[email protected]>",

0 commit comments

Comments
 (0)