Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,10 +18,10 @@ token = os.environ.get("API_TOKEN")
|
|
| 18 |
# ------------------------
|
| 19 |
llm = ChatGoogleGenerativeAI(
|
| 20 |
model="gemini-2.5-flash",
|
| 21 |
-
temperature=0.7,api_key = token
|
|
|
|
| 22 |
)
|
| 23 |
|
| 24 |
-
|
| 25 |
# Global variable to store the QA chain
|
| 26 |
chain = None
|
| 27 |
|
|
|
|
| 18 |
# ------------------------
|
| 19 |
llm = ChatGoogleGenerativeAI(
|
| 20 |
model="gemini-2.5-flash",
|
| 21 |
+
temperature=0.7,api_key = token,
|
| 22 |
+
max_token =100
|
| 23 |
)
|
| 24 |
|
|
|
|
| 25 |
# Global variable to store the QA chain
|
| 26 |
chain = None
|
| 27 |
|