jocko commited on
Commit
5ae6be0
Β·
1 Parent(s): 584fdfe

add comet on all other operations

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +6 -0
src/streamlit_app.py CHANGED
@@ -28,6 +28,12 @@ from datasets import load_dataset, get_dataset_split_names
28
  from PIL import Image
29
  import openai
30
  from opik import track, log_event
 
 
 
 
 
 
31
  from openai import OpenAI
32
 
33
  # ========== πŸ”‘ API Key ==========
 
28
  from PIL import Image
29
  import openai
30
  from opik import track, log_event
31
+
32
+ import os
33
+ os.environ["COMET_DISABLE_AUTO_LOGGING"] = "1" # disable all auto-logging
34
+ # or to only disable LLM patching:
35
+ os.environ["COMET_DISABLE_AUTO_LOGGING_LLM"] = "1"
36
+
37
  from openai import OpenAI
38
 
39
  # ========== πŸ”‘ API Key ==========