Spaces:
Sleeping
Sleeping
changed the file path
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def requestResults(text, pipeline):
|
|
95 |
|
96 |
import os
|
97 |
|
98 |
-
LOG_FILE = "
|
99 |
|
100 |
def log_interaction(user_input, model_name, predictions):
|
101 |
log_entry = {
|
|
|
95 |
|
96 |
import os
|
97 |
|
98 |
+
LOG_FILE = "usage_log.jsonl" # Use temporary file path for Hugging Face Spaces
|
99 |
|
100 |
def log_interaction(user_input, model_name, predictions):
|
101 |
log_entry = {
|