Spaces:
Configuration error
Configuration error
Update crew.py
Browse files
crew.py
CHANGED
|
@@ -199,7 +199,7 @@ def run_crew(question, file_path):
|
|
| 199 |
print("###")
|
| 200 |
if file_path:
|
| 201 |
df = read_file(file_path)
|
| 202 |
-
question = f"
|
| 203 |
print(question)
|
| 204 |
|
| 205 |
client = genai.Client(api_key=os.environ["GEMINI_API_KEY"])
|
|
|
|
| 199 |
print("###")
|
| 200 |
if file_path:
|
| 201 |
df = read_file(file_path)
|
| 202 |
+
question = f"You don't have to read te file, the data are provided below.\nQuestion:\n{question}\nData:\n{df.to_string()}"
|
| 203 |
print(question)
|
| 204 |
|
| 205 |
client = genai.Client(api_key=os.environ["GEMINI_API_KEY"])
|