Spaces:
Running
on
L4
Running
on
L4
liamcripwell
commited on
Commit
•
54739a3
1
Parent(s):
1162de7
environ.get
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ def gradio_interface_function(template, text, is_example):
|
|
152 |
# yield gr.update(value=chunk_info), gr.update(value=progress), gr.update(value=full_pred), gr.update(value=html_content)
|
153 |
yield progress, full_pred, html_content
|
154 |
|
155 |
-
if not is_example and os.environ
|
156 |
log_event(text, template, full_pred)
|
157 |
|
158 |
|
|
|
152 |
# yield gr.update(value=chunk_info), gr.update(value=progress), gr.update(value=full_pred), gr.update(value=html_content)
|
153 |
yield progress, full_pred, html_content
|
154 |
|
155 |
+
if not is_example and os.environ.get("LOG_SERVER") is not None:
|
156 |
log_event(text, template, full_pred)
|
157 |
|
158 |
|