Update crew.py
Browse files
crew.py
CHANGED
@@ -193,13 +193,15 @@ def run_crew(question, file_path):
|
|
193 |
Raises:
|
194 |
RuntimeError: If processing fails"""
|
195 |
try:
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
|
|
|
|
203 |
|
204 |
client = genai.Client(api_key=os.environ["GEMINI_API_KEY"])
|
205 |
|
|
|
193 |
Raises:
|
194 |
RuntimeError: If processing fails"""
|
195 |
try:
|
196 |
+
print("###")
|
197 |
+
print(question)
|
198 |
+
print(file_path)
|
199 |
+
print("###")
|
200 |
+
|
201 |
+
#if file_path:
|
202 |
+
#df = read_file(file_path)
|
203 |
+
#question = question.split(" File path:")[0]
|
204 |
+
#question = f"Question: {question}\nFile data:\n{df.to_string()}"
|
205 |
|
206 |
client = genai.Client(api_key=os.environ["GEMINI_API_KEY"])
|
207 |
|