Spaces:
Configuration error
Configuration error
Upload folder using huggingface_hub
Browse files- README.md +2 -2
- __pycache__/app.cpython-311.pyc +0 -0
- app.py +1 -1
- space.py +1 -1
- src/README.md +1 -1
- src/demo/app.py +1 -1
- src/demo/space.py +1 -1
- src/pyproject.toml +1 -1
README.md
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
---
|
3 |
tags: [gradio-custom-component,gradio-template-SimpleTextbox,log,gradio_log,gradio_log_component,gradio_print_log]
|
4 |
title: gradio_log V0.0.2
|
5 |
-
colorFrom:
|
6 |
-
colorTo:
|
7 |
sdk: docker
|
8 |
pinned: false
|
9 |
license: apache-2.0
|
|
|
2 |
---
|
3 |
tags: [gradio-custom-component,gradio-template-SimpleTextbox,log,gradio_log,gradio_log_component,gradio_print_log]
|
4 |
title: gradio_log V0.0.2
|
5 |
+
colorFrom: red
|
6 |
+
colorTo: yellow
|
7 |
sdk: docker
|
8 |
pinned: false
|
9 |
license: apache-2.0
|
__pycache__/app.cpython-311.pyc
CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
app.py
CHANGED
@@ -34,7 +34,7 @@ class CustomFormatter(logging.Formatter):
|
|
34 |
|
35 |
formatter = CustomFormatter()
|
36 |
|
37 |
-
log_file =
|
38 |
Path(log_file).touch()
|
39 |
|
40 |
ch = logging.FileHandler(log_file)
|
|
|
34 |
|
35 |
formatter = CustomFormatter()
|
36 |
|
37 |
+
log_file = "/tmp/gradio_log.txt"
|
38 |
Path(log_file).touch()
|
39 |
|
40 |
ch = logging.FileHandler(log_file)
|
space.py
CHANGED
@@ -74,7 +74,7 @@ class CustomFormatter(logging.Formatter):
|
|
74 |
|
75 |
formatter = CustomFormatter()
|
76 |
|
77 |
-
log_file =
|
78 |
Path(log_file).touch()
|
79 |
|
80 |
ch = logging.FileHandler(log_file)
|
|
|
74 |
|
75 |
formatter = CustomFormatter()
|
76 |
|
77 |
+
log_file = "/tmp/gradio_log.txt"
|
78 |
Path(log_file).touch()
|
79 |
|
80 |
ch = logging.FileHandler(log_file)
|
src/README.md
CHANGED
@@ -49,7 +49,7 @@ class CustomFormatter(logging.Formatter):
|
|
49 |
|
50 |
formatter = CustomFormatter()
|
51 |
|
52 |
-
log_file =
|
53 |
Path(log_file).touch()
|
54 |
|
55 |
ch = logging.FileHandler(log_file)
|
|
|
49 |
|
50 |
formatter = CustomFormatter()
|
51 |
|
52 |
+
log_file = "/tmp/gradio_log.txt"
|
53 |
Path(log_file).touch()
|
54 |
|
55 |
ch = logging.FileHandler(log_file)
|
src/demo/app.py
CHANGED
@@ -34,7 +34,7 @@ class CustomFormatter(logging.Formatter):
|
|
34 |
|
35 |
formatter = CustomFormatter()
|
36 |
|
37 |
-
log_file =
|
38 |
Path(log_file).touch()
|
39 |
|
40 |
ch = logging.FileHandler(log_file)
|
|
|
34 |
|
35 |
formatter = CustomFormatter()
|
36 |
|
37 |
+
log_file = "/tmp/gradio_log.txt"
|
38 |
Path(log_file).touch()
|
39 |
|
40 |
ch = logging.FileHandler(log_file)
|
src/demo/space.py
CHANGED
@@ -74,7 +74,7 @@ class CustomFormatter(logging.Formatter):
|
|
74 |
|
75 |
formatter = CustomFormatter()
|
76 |
|
77 |
-
log_file =
|
78 |
Path(log_file).touch()
|
79 |
|
80 |
ch = logging.FileHandler(log_file)
|
|
|
74 |
|
75 |
formatter = CustomFormatter()
|
76 |
|
77 |
+
log_file = "/tmp/gradio_log.txt"
|
78 |
Path(log_file).touch()
|
79 |
|
80 |
ch = logging.FileHandler(log_file)
|
src/pyproject.toml
CHANGED
@@ -43,7 +43,7 @@ classifiers = [
|
|
43 |
dev = ["build", "twine"]
|
44 |
|
45 |
[tool.hatch.build]
|
46 |
-
artifacts = ["/backend/gradio_log/templates", "*.pyi", "backend/gradio_log/templates", "backend/gradio_log/templates", "backend/gradio_log/templates", "backend/gradio_log/templates", "backend/gradio_log/templates"]
|
47 |
|
48 |
[tool.hatch.build.targets.wheel]
|
49 |
packages = ["/backend/gradio_log"]
|
|
|
43 |
dev = ["build", "twine"]
|
44 |
|
45 |
[tool.hatch.build]
|
46 |
+
artifacts = ["/backend/gradio_log/templates", "*.pyi", "backend/gradio_log/templates", "backend/gradio_log/templates", "backend/gradio_log/templates", "backend/gradio_log/templates", "backend/gradio_log/templates", "backend/gradio_log/templates"]
|
47 |
|
48 |
[tool.hatch.build.targets.wheel]
|
49 |
packages = ["/backend/gradio_log"]
|