Update process_data.py
Browse files- process_data.py +1 -8
process_data.py
CHANGED
|
@@ -318,14 +318,7 @@ def pre_processing(input_data, parameters):
|
|
| 318 |
|
| 319 |
except Exception as e:
|
| 320 |
print(f"Failed to parse response as JSON. Error was: {e}")
|
| 321 |
-
|
| 322 |
-
#input_data["input_context"] = "EMPTY"
|
| 323 |
-
#input_data["input_text"] = input_text
|
| 324 |
-
#return input_data
|
| 325 |
-
else:
|
| 326 |
-
#input_context = f"You are processing farm activity, interactions, and trial data. Here's important context of the data {parameters['combined_pre_prompt']}. With this context in mind, "
|
| 327 |
-
#input_data["input_context"] = input_context
|
| 328 |
-
#return input_data
|
| 329 |
|
| 330 |
|
| 331 |
|
|
|
|
| 318 |
|
| 319 |
except Exception as e:
|
| 320 |
print(f"Failed to parse response as JSON. Error was: {e}")
|
| 321 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 322 |
|
| 323 |
|
| 324 |
|