mo01018 hw01558 commited on
Commit
2d3cdb6
·
verified ·
1 Parent(s): 76be90d

logging edit (#20)

Browse files

- logging edit (93f0ebb6fb7d403e3f4438870fb4808e2585cd1d)


Co-authored-by: H Wilks <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ import logging
106
 
107
  #)
108
 
109
- LOG_FILE = "usage_log.jsonl" # Use temporary file path for Hugging Face Spaces
110
 
111
  def log_interaction(user_input, model_name, predictions):
112
  # https://betterstack.com/community/guides/logging/how-to-start-logging-with-python/
 
106
 
107
  #)
108
 
109
+ LOG_FILE = "./usage_log.jsonl" # Use temporary file path for Hugging Face Spaces
110
 
111
  def log_interaction(user_input, model_name, predictions):
112
  # https://betterstack.com/community/guides/logging/how-to-start-logging-with-python/