Spaces:
Running
Running
peter szemraj
commited on
Commit
·
cd45d79
1
Parent(s):
7546941
bugfix
Browse files
utils.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
"""
|
2 |
utils.py - Utility functions for the project.
|
3 |
"""
|
4 |
-
|
5 |
|
6 |
def postprocess(text: str):
|
7 |
"""
|
@@ -35,7 +35,7 @@ def postprocess(text: str):
|
|
35 |
return text
|
36 |
|
37 |
|
38 |
-
def clear(**kwargs):
|
39 |
"""for use with buttons"""
|
40 |
-
|
41 |
return ""
|
|
|
1 |
"""
|
2 |
utils.py - Utility functions for the project.
|
3 |
"""
|
4 |
+
import logging
|
5 |
|
6 |
def postprocess(text: str):
|
7 |
"""
|
|
|
35 |
return text
|
36 |
|
37 |
|
38 |
+
def clear(text, **kwargs):
|
39 |
"""for use with buttons"""
|
40 |
+
logging.info(f"clearing {text}")
|
41 |
return ""
|