Spaces:
Configuration error
Configuration error
Chenglu-She
commited on
Commit
•
155b2a4
1
Parent(s):
13fe2f2
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +2 -2
- __pycache__/app.cpython-311.pyc +0 -0
- app.py +61 -18
- space.py +61 -18
- src/.gitignore +2 -1
- src/README.md +61 -18
- src/assets/dynamic.gif +3 -0
- src/assets/static.png +0 -0
- src/demo/app.py +61 -18
- src/demo/space.py +61 -18
- src/pyproject.toml +1 -1
- src/test.log +487 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
src/assets/dynamic.gif filter=lfs diff=lfs merge=lfs -text
|
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: blue
|
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
@@ -1,28 +1,71 @@
|
|
|
|
|
|
1 |
import gradio as gr
|
|
|
2 |
from gradio_log import Log
|
3 |
-
import os
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
-
with open("./test.log", "wb") as f:
|
7 |
-
# write some random log to f, with colored and uncolored text
|
8 |
-
f.write(b"[INFO] Everything is fine.\n")
|
9 |
-
f.write(b"\x1b[34m[DEBUG] Debugging information.\x1b[0m\n")
|
10 |
-
f.write(b"\x1b[32m[SUCCESS] Task completed successfully.\x1b[0m\n")
|
11 |
-
f.write(b"\x1b[33m[WARNING] Something is not right.\x1b[0m\n")
|
12 |
-
f.write(b"\x1b[31m[ERROR] Unexpected error occured.\x1b[0m\n")
|
13 |
|
|
|
14 |
|
15 |
-
with gr.Blocks(
|
|
|
16 |
with gr.Row():
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
"./test.log",
|
22 |
-
dark=True,
|
23 |
-
tail=4,
|
24 |
-
label="dark mode, read from last 4 lines of log",
|
25 |
-
)
|
26 |
|
27 |
|
28 |
if __name__ == "__main__":
|
|
|
1 |
+
from pathlib import Path
|
2 |
+
import logging
|
3 |
import gradio as gr
|
4 |
+
|
5 |
from gradio_log import Log
|
|
|
6 |
|
7 |
+
import logging
|
8 |
+
|
9 |
+
|
10 |
+
class CustomFormatter(logging.Formatter):
|
11 |
+
|
12 |
+
green = "\x1b[32;20m"
|
13 |
+
blue = "\x1b[34;20m"
|
14 |
+
yellow = "\x1b[33;20m"
|
15 |
+
red = "\x1b[31;20m"
|
16 |
+
bold_red = "\x1b[31;1m"
|
17 |
+
reset = "\x1b[0m"
|
18 |
+
format = "%(asctime)s - %(levelname)s - %(message)s (%(filename)s:%(lineno)d)"
|
19 |
+
|
20 |
+
FORMATS = {
|
21 |
+
logging.DEBUG: blue + format + reset,
|
22 |
+
logging.INFO: green + format + reset,
|
23 |
+
logging.WARNING: yellow + format + reset,
|
24 |
+
logging.ERROR: red + format + reset,
|
25 |
+
logging.CRITICAL: bold_red + format + reset,
|
26 |
+
}
|
27 |
+
|
28 |
+
def format(self, record):
|
29 |
+
log_fmt = self.FORMATS.get(record.levelno)
|
30 |
+
formatter = logging.Formatter(log_fmt)
|
31 |
+
return formatter.format(record)
|
32 |
+
|
33 |
+
|
34 |
+
formatter = CustomFormatter()
|
35 |
+
|
36 |
+
ch = logging.FileHandler("./test.log")
|
37 |
+
ch.setLevel(logging.DEBUG)
|
38 |
+
ch.setFormatter(formatter)
|
39 |
+
|
40 |
+
logger = logging.getLogger()
|
41 |
+
logger.setLevel(logging.DEBUG)
|
42 |
+
for handler in logger.handlers:
|
43 |
+
logger.removeHandler(handler)
|
44 |
+
logger.addHandler(ch)
|
45 |
+
|
46 |
+
|
47 |
+
logger.info(
|
48 |
+
"Use the left column to log messages to a file, and the log will be displayed in here."
|
49 |
+
)
|
50 |
+
|
51 |
+
|
52 |
+
def create_log_handler(level):
|
53 |
+
|
54 |
+
def l(text):
|
55 |
+
getattr(logger, level)(text)
|
56 |
+
|
57 |
+
return l
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
+
Path("./test.log").touch()
|
61 |
|
62 |
+
with gr.Blocks() as demo:
|
63 |
+
text = gr.Textbox(label="Enter text to write to log file")
|
64 |
with gr.Row():
|
65 |
+
for l in ["debug", "info", "warning", "error", "critical"]:
|
66 |
+
button = gr.Button(f"log as {l}")
|
67 |
+
button.click(fn=create_log_handler(l), inputs=text)
|
68 |
+
Log("./test.log")
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
|
71 |
if __name__ == "__main__":
|
space.py
CHANGED
@@ -38,31 +38,74 @@ pip install gradio_log
|
|
38 |
## Usage
|
39 |
|
40 |
```python
|
|
|
|
|
41 |
import gradio as gr
|
|
|
42 |
from gradio_log import Log
|
43 |
-
import os
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
-
with open("./test.log", "wb") as f:
|
47 |
-
# write some random log to f, with colored and uncolored text
|
48 |
-
f.write(b"[INFO] Everything is fine.\n")
|
49 |
-
f.write(b"\x1b[34m[DEBUG] Debugging information.\x1b[0m\n")
|
50 |
-
f.write(b"\x1b[32m[SUCCESS] Task completed successfully.\x1b[0m\n")
|
51 |
-
f.write(b"\x1b[33m[WARNING] Something is not right.\x1b[0m\n")
|
52 |
-
f.write(b"\x1b[31m[ERROR] Unexpected error occured.\x1b[0m\n")
|
53 |
|
|
|
54 |
|
55 |
-
with gr.Blocks(
|
|
|
56 |
with gr.Row():
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
"./test.log",
|
62 |
-
dark=True,
|
63 |
-
tail=4,
|
64 |
-
label="dark mode, read from last 4 lines of log",
|
65 |
-
)
|
66 |
|
67 |
|
68 |
if __name__ == "__main__":
|
|
|
38 |
## Usage
|
39 |
|
40 |
```python
|
41 |
+
from pathlib import Path
|
42 |
+
import logging
|
43 |
import gradio as gr
|
44 |
+
|
45 |
from gradio_log import Log
|
|
|
46 |
|
47 |
+
import logging
|
48 |
+
|
49 |
+
|
50 |
+
class CustomFormatter(logging.Formatter):
|
51 |
+
|
52 |
+
green = "\x1b[32;20m"
|
53 |
+
blue = "\x1b[34;20m"
|
54 |
+
yellow = "\x1b[33;20m"
|
55 |
+
red = "\x1b[31;20m"
|
56 |
+
bold_red = "\x1b[31;1m"
|
57 |
+
reset = "\x1b[0m"
|
58 |
+
format = "%(asctime)s - %(levelname)s - %(message)s (%(filename)s:%(lineno)d)"
|
59 |
+
|
60 |
+
FORMATS = {
|
61 |
+
logging.DEBUG: blue + format + reset,
|
62 |
+
logging.INFO: green + format + reset,
|
63 |
+
logging.WARNING: yellow + format + reset,
|
64 |
+
logging.ERROR: red + format + reset,
|
65 |
+
logging.CRITICAL: bold_red + format + reset,
|
66 |
+
}
|
67 |
+
|
68 |
+
def format(self, record):
|
69 |
+
log_fmt = self.FORMATS.get(record.levelno)
|
70 |
+
formatter = logging.Formatter(log_fmt)
|
71 |
+
return formatter.format(record)
|
72 |
+
|
73 |
+
|
74 |
+
formatter = CustomFormatter()
|
75 |
+
|
76 |
+
ch = logging.FileHandler("./test.log")
|
77 |
+
ch.setLevel(logging.DEBUG)
|
78 |
+
ch.setFormatter(formatter)
|
79 |
+
|
80 |
+
logger = logging.getLogger()
|
81 |
+
logger.setLevel(logging.DEBUG)
|
82 |
+
for handler in logger.handlers:
|
83 |
+
logger.removeHandler(handler)
|
84 |
+
logger.addHandler(ch)
|
85 |
+
|
86 |
+
|
87 |
+
logger.info(
|
88 |
+
"Use the left column to log messages to a file, and the log will be displayed in here."
|
89 |
+
)
|
90 |
+
|
91 |
+
|
92 |
+
def create_log_handler(level):
|
93 |
+
|
94 |
+
def l(text):
|
95 |
+
getattr(logger, level)(text)
|
96 |
+
|
97 |
+
return l
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
+
Path("./test.log").touch()
|
101 |
|
102 |
+
with gr.Blocks() as demo:
|
103 |
+
text = gr.Textbox(label="Enter text to write to log file")
|
104 |
with gr.Row():
|
105 |
+
for l in ["debug", "info", "warning", "error", "critical"]:
|
106 |
+
button = gr.Button(f"log as {l}")
|
107 |
+
button.click(fn=create_log_handler(l), inputs=text)
|
108 |
+
Log("./test.log")
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
|
111 |
if __name__ == "__main__":
|
src/.gitignore
CHANGED
@@ -6,4 +6,5 @@ __pycache__/
|
|
6 |
*$py.class
|
7 |
__tmp/*
|
8 |
*.pyi
|
9 |
-
node_modules
|
|
|
|
6 |
*$py.class
|
7 |
__tmp/*
|
8 |
*.pyi
|
9 |
+
node_modules
|
10 |
+
test.log
|
src/README.md
CHANGED
@@ -13,31 +13,74 @@ pip install gradio_log
|
|
13 |
## Usage
|
14 |
|
15 |
```python
|
|
|
|
|
16 |
import gradio as gr
|
|
|
17 |
from gradio_log import Log
|
18 |
-
import os
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
-
with open("./test.log", "wb") as f:
|
22 |
-
# write some random log to f, with colored and uncolored text
|
23 |
-
f.write(b"[INFO] Everything is fine.\n")
|
24 |
-
f.write(b"\x1b[34m[DEBUG] Debugging information.\x1b[0m\n")
|
25 |
-
f.write(b"\x1b[32m[SUCCESS] Task completed successfully.\x1b[0m\n")
|
26 |
-
f.write(b"\x1b[33m[WARNING] Something is not right.\x1b[0m\n")
|
27 |
-
f.write(b"\x1b[31m[ERROR] Unexpected error occured.\x1b[0m\n")
|
28 |
|
|
|
29 |
|
30 |
-
with gr.Blocks(
|
|
|
31 |
with gr.Row():
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
"./test.log",
|
37 |
-
dark=True,
|
38 |
-
tail=4,
|
39 |
-
label="dark mode, read from last 4 lines of log",
|
40 |
-
)
|
41 |
|
42 |
|
43 |
if __name__ == "__main__":
|
|
|
13 |
## Usage
|
14 |
|
15 |
```python
|
16 |
+
from pathlib import Path
|
17 |
+
import logging
|
18 |
import gradio as gr
|
19 |
+
|
20 |
from gradio_log import Log
|
|
|
21 |
|
22 |
+
import logging
|
23 |
+
|
24 |
+
|
25 |
+
class CustomFormatter(logging.Formatter):
|
26 |
+
|
27 |
+
green = "\x1b[32;20m"
|
28 |
+
blue = "\x1b[34;20m"
|
29 |
+
yellow = "\x1b[33;20m"
|
30 |
+
red = "\x1b[31;20m"
|
31 |
+
bold_red = "\x1b[31;1m"
|
32 |
+
reset = "\x1b[0m"
|
33 |
+
format = "%(asctime)s - %(levelname)s - %(message)s (%(filename)s:%(lineno)d)"
|
34 |
+
|
35 |
+
FORMATS = {
|
36 |
+
logging.DEBUG: blue + format + reset,
|
37 |
+
logging.INFO: green + format + reset,
|
38 |
+
logging.WARNING: yellow + format + reset,
|
39 |
+
logging.ERROR: red + format + reset,
|
40 |
+
logging.CRITICAL: bold_red + format + reset,
|
41 |
+
}
|
42 |
+
|
43 |
+
def format(self, record):
|
44 |
+
log_fmt = self.FORMATS.get(record.levelno)
|
45 |
+
formatter = logging.Formatter(log_fmt)
|
46 |
+
return formatter.format(record)
|
47 |
+
|
48 |
+
|
49 |
+
formatter = CustomFormatter()
|
50 |
+
|
51 |
+
ch = logging.FileHandler("./test.log")
|
52 |
+
ch.setLevel(logging.DEBUG)
|
53 |
+
ch.setFormatter(formatter)
|
54 |
+
|
55 |
+
logger = logging.getLogger()
|
56 |
+
logger.setLevel(logging.DEBUG)
|
57 |
+
for handler in logger.handlers:
|
58 |
+
logger.removeHandler(handler)
|
59 |
+
logger.addHandler(ch)
|
60 |
+
|
61 |
+
|
62 |
+
logger.info(
|
63 |
+
"Use the left column to log messages to a file, and the log will be displayed in here."
|
64 |
+
)
|
65 |
+
|
66 |
+
|
67 |
+
def create_log_handler(level):
|
68 |
+
|
69 |
+
def l(text):
|
70 |
+
getattr(logger, level)(text)
|
71 |
+
|
72 |
+
return l
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
+
Path("./test.log").touch()
|
76 |
|
77 |
+
with gr.Blocks() as demo:
|
78 |
+
text = gr.Textbox(label="Enter text to write to log file")
|
79 |
with gr.Row():
|
80 |
+
for l in ["debug", "info", "warning", "error", "critical"]:
|
81 |
+
button = gr.Button(f"log as {l}")
|
82 |
+
button.click(fn=create_log_handler(l), inputs=text)
|
83 |
+
Log("./test.log")
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
|
86 |
if __name__ == "__main__":
|
src/assets/dynamic.gif
ADDED
Git LFS Details
|
src/assets/static.png
ADDED
src/demo/app.py
CHANGED
@@ -1,28 +1,71 @@
|
|
|
|
|
|
1 |
import gradio as gr
|
|
|
2 |
from gradio_log import Log
|
3 |
-
import os
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
-
with open("./test.log", "wb") as f:
|
7 |
-
# write some random log to f, with colored and uncolored text
|
8 |
-
f.write(b"[INFO] Everything is fine.\n")
|
9 |
-
f.write(b"\x1b[34m[DEBUG] Debugging information.\x1b[0m\n")
|
10 |
-
f.write(b"\x1b[32m[SUCCESS] Task completed successfully.\x1b[0m\n")
|
11 |
-
f.write(b"\x1b[33m[WARNING] Something is not right.\x1b[0m\n")
|
12 |
-
f.write(b"\x1b[31m[ERROR] Unexpected error occured.\x1b[0m\n")
|
13 |
|
|
|
14 |
|
15 |
-
with gr.Blocks(
|
|
|
16 |
with gr.Row():
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
"./test.log",
|
22 |
-
dark=True,
|
23 |
-
tail=4,
|
24 |
-
label="dark mode, read from last 4 lines of log",
|
25 |
-
)
|
26 |
|
27 |
|
28 |
if __name__ == "__main__":
|
|
|
1 |
+
from pathlib import Path
|
2 |
+
import logging
|
3 |
import gradio as gr
|
4 |
+
|
5 |
from gradio_log import Log
|
|
|
6 |
|
7 |
+
import logging
|
8 |
+
|
9 |
+
|
10 |
+
class CustomFormatter(logging.Formatter):
|
11 |
+
|
12 |
+
green = "\x1b[32;20m"
|
13 |
+
blue = "\x1b[34;20m"
|
14 |
+
yellow = "\x1b[33;20m"
|
15 |
+
red = "\x1b[31;20m"
|
16 |
+
bold_red = "\x1b[31;1m"
|
17 |
+
reset = "\x1b[0m"
|
18 |
+
format = "%(asctime)s - %(levelname)s - %(message)s (%(filename)s:%(lineno)d)"
|
19 |
+
|
20 |
+
FORMATS = {
|
21 |
+
logging.DEBUG: blue + format + reset,
|
22 |
+
logging.INFO: green + format + reset,
|
23 |
+
logging.WARNING: yellow + format + reset,
|
24 |
+
logging.ERROR: red + format + reset,
|
25 |
+
logging.CRITICAL: bold_red + format + reset,
|
26 |
+
}
|
27 |
+
|
28 |
+
def format(self, record):
|
29 |
+
log_fmt = self.FORMATS.get(record.levelno)
|
30 |
+
formatter = logging.Formatter(log_fmt)
|
31 |
+
return formatter.format(record)
|
32 |
+
|
33 |
+
|
34 |
+
formatter = CustomFormatter()
|
35 |
+
|
36 |
+
ch = logging.FileHandler("./test.log")
|
37 |
+
ch.setLevel(logging.DEBUG)
|
38 |
+
ch.setFormatter(formatter)
|
39 |
+
|
40 |
+
logger = logging.getLogger()
|
41 |
+
logger.setLevel(logging.DEBUG)
|
42 |
+
for handler in logger.handlers:
|
43 |
+
logger.removeHandler(handler)
|
44 |
+
logger.addHandler(ch)
|
45 |
+
|
46 |
+
|
47 |
+
logger.info(
|
48 |
+
"Use the left column to log messages to a file, and the log will be displayed in here."
|
49 |
+
)
|
50 |
+
|
51 |
+
|
52 |
+
def create_log_handler(level):
|
53 |
+
|
54 |
+
def l(text):
|
55 |
+
getattr(logger, level)(text)
|
56 |
+
|
57 |
+
return l
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
+
Path("./test.log").touch()
|
61 |
|
62 |
+
with gr.Blocks() as demo:
|
63 |
+
text = gr.Textbox(label="Enter text to write to log file")
|
64 |
with gr.Row():
|
65 |
+
for l in ["debug", "info", "warning", "error", "critical"]:
|
66 |
+
button = gr.Button(f"log as {l}")
|
67 |
+
button.click(fn=create_log_handler(l), inputs=text)
|
68 |
+
Log("./test.log")
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
|
71 |
if __name__ == "__main__":
|
src/demo/space.py
CHANGED
@@ -38,31 +38,74 @@ pip install gradio_log
|
|
38 |
## Usage
|
39 |
|
40 |
```python
|
|
|
|
|
41 |
import gradio as gr
|
|
|
42 |
from gradio_log import Log
|
43 |
-
import os
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
-
with open("./test.log", "wb") as f:
|
47 |
-
# write some random log to f, with colored and uncolored text
|
48 |
-
f.write(b"[INFO] Everything is fine.\n")
|
49 |
-
f.write(b"\x1b[34m[DEBUG] Debugging information.\x1b[0m\n")
|
50 |
-
f.write(b"\x1b[32m[SUCCESS] Task completed successfully.\x1b[0m\n")
|
51 |
-
f.write(b"\x1b[33m[WARNING] Something is not right.\x1b[0m\n")
|
52 |
-
f.write(b"\x1b[31m[ERROR] Unexpected error occured.\x1b[0m\n")
|
53 |
|
|
|
54 |
|
55 |
-
with gr.Blocks(
|
|
|
56 |
with gr.Row():
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
"./test.log",
|
62 |
-
dark=True,
|
63 |
-
tail=4,
|
64 |
-
label="dark mode, read from last 4 lines of log",
|
65 |
-
)
|
66 |
|
67 |
|
68 |
if __name__ == "__main__":
|
|
|
38 |
## Usage
|
39 |
|
40 |
```python
|
41 |
+
from pathlib import Path
|
42 |
+
import logging
|
43 |
import gradio as gr
|
44 |
+
|
45 |
from gradio_log import Log
|
|
|
46 |
|
47 |
+
import logging
|
48 |
+
|
49 |
+
|
50 |
+
class CustomFormatter(logging.Formatter):
|
51 |
+
|
52 |
+
green = "\x1b[32;20m"
|
53 |
+
blue = "\x1b[34;20m"
|
54 |
+
yellow = "\x1b[33;20m"
|
55 |
+
red = "\x1b[31;20m"
|
56 |
+
bold_red = "\x1b[31;1m"
|
57 |
+
reset = "\x1b[0m"
|
58 |
+
format = "%(asctime)s - %(levelname)s - %(message)s (%(filename)s:%(lineno)d)"
|
59 |
+
|
60 |
+
FORMATS = {
|
61 |
+
logging.DEBUG: blue + format + reset,
|
62 |
+
logging.INFO: green + format + reset,
|
63 |
+
logging.WARNING: yellow + format + reset,
|
64 |
+
logging.ERROR: red + format + reset,
|
65 |
+
logging.CRITICAL: bold_red + format + reset,
|
66 |
+
}
|
67 |
+
|
68 |
+
def format(self, record):
|
69 |
+
log_fmt = self.FORMATS.get(record.levelno)
|
70 |
+
formatter = logging.Formatter(log_fmt)
|
71 |
+
return formatter.format(record)
|
72 |
+
|
73 |
+
|
74 |
+
formatter = CustomFormatter()
|
75 |
+
|
76 |
+
ch = logging.FileHandler("./test.log")
|
77 |
+
ch.setLevel(logging.DEBUG)
|
78 |
+
ch.setFormatter(formatter)
|
79 |
+
|
80 |
+
logger = logging.getLogger()
|
81 |
+
logger.setLevel(logging.DEBUG)
|
82 |
+
for handler in logger.handlers:
|
83 |
+
logger.removeHandler(handler)
|
84 |
+
logger.addHandler(ch)
|
85 |
+
|
86 |
+
|
87 |
+
logger.info(
|
88 |
+
"Use the left column to log messages to a file, and the log will be displayed in here."
|
89 |
+
)
|
90 |
+
|
91 |
+
|
92 |
+
def create_log_handler(level):
|
93 |
+
|
94 |
+
def l(text):
|
95 |
+
getattr(logger, level)(text)
|
96 |
+
|
97 |
+
return l
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
+
Path("./test.log").touch()
|
101 |
|
102 |
+
with gr.Blocks() as demo:
|
103 |
+
text = gr.Textbox(label="Enter text to write to log file")
|
104 |
with gr.Row():
|
105 |
+
for l in ["debug", "info", "warning", "error", "critical"]:
|
106 |
+
button = gr.Button(f"log as {l}")
|
107 |
+
button.click(fn=create_log_handler(l), inputs=text)
|
108 |
+
Log("./test.log")
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
|
111 |
if __name__ == "__main__":
|
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"]
|
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"]
|
47 |
|
48 |
[tool.hatch.build.targets.wheel]
|
49 |
packages = ["/backend/gradio_log"]
|
src/test.log
ADDED
@@ -0,0 +1,487 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[INFO] Everything is fine.
|
2 |
+
[34m[DEBUG] Debugging information.[0m
|
3 |
+
[32m[SUCCESS] Task completed successfully.[0m
|
4 |
+
[33m[WARNING] Something is not right.[0m
|
5 |
+
[31m[ERROR] Unexpected error occured.[0m
|
6 |
+
[38;20m2024-04-09 14:55:21,827 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
7 |
+
[38;20m2024-04-09 14:55:21,827 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
8 |
+
[38;20m2024-04-09 14:55:21,827 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
9 |
+
[38;20m2024-04-09 14:55:21,827 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
10 |
+
[38;20m2024-04-09 14:55:21,833 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
11 |
+
[38;20m2024-04-09 14:55:21,840 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
12 |
+
[38;20m2024-04-09 14:55:21,842 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
13 |
+
[38;20m2024-04-09 14:55:21,842 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
14 |
+
[38;20m2024-04-09 14:55:21,850 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
15 |
+
[38;20m2024-04-09 14:55:21,850 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
16 |
+
[38;20m2024-04-09 14:55:21,858 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
17 |
+
[38;20m2024-04-09 14:55:21,859 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
18 |
+
[38;20m2024-04-09 14:55:21,865 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=3 socket_options=None (_trace.py:45)[0m
|
19 |
+
[38;20m2024-04-09 14:55:21,865 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=3 socket_options=None (_trace.py:45)[0m
|
20 |
+
[38;20m2024-04-09 14:55:21,865 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13404fd90> (_trace.py:45)[0m
|
21 |
+
[38;20m2024-04-09 14:55:21,865 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13405d790> (_trace.py:45)[0m
|
22 |
+
[38;20m2024-04-09 14:55:21,865 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
23 |
+
[38;20m2024-04-09 14:55:21,865 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
24 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
25 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
26 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
27 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
28 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
29 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
30 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
31 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
32 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
33 |
+
[38;20m2024-04-09 14:55:21,866 - httpcore.proxy - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x124b8d1c0> server_hostname='api.gradio.app' timeout=3 (_trace.py:45)[0m
|
34 |
+
[38;20m2024-04-09 14:55:21,867 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
35 |
+
[38;20m2024-04-09 14:55:21,867 - httpcore.proxy - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x124b8d250> server_hostname='checkip.amazonaws.com' timeout=3 (_trace.py:45)[0m
|
36 |
+
[38;20m2024-04-09 14:55:21,870 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
37 |
+
[38;20m2024-04-09 14:55:21,870 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
38 |
+
[38;20m2024-04-09 14:55:21,876 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
39 |
+
[38;20m2024-04-09 14:55:21,876 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
40 |
+
[38;20m2024-04-09 14:55:21,882 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
41 |
+
[38;20m2024-04-09 14:55:21,882 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
42 |
+
[38;20m2024-04-09 14:55:21,888 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=None socket_options=None (_trace.py:45)[0m
|
43 |
+
[38;20m2024-04-09 14:55:21,889 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13408df50> (_trace.py:45)[0m
|
44 |
+
[38;20m2024-04-09 14:55:21,889 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
45 |
+
[38;20m2024-04-09 14:55:21,889 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
46 |
+
[38;20m2024-04-09 14:55:21,889 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
47 |
+
[38;20m2024-04-09 14:55:21,889 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
48 |
+
[38;20m2024-04-09 14:55:21,889 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
49 |
+
[38;20m2024-04-09 14:55:21,892 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Connection', b'close'), (b'Content-Length', b'4'), (b'Content-Type', b'application/json'), (b'Date', b'Tue, 09 Apr 2024 06:55:21 GMT'), (b'Server', b'uvicorn')]) (_trace.py:45)[0m
|
50 |
+
[38;20m2024-04-09 14:55:21,893 - httpx - INFO - HTTP Request: GET http://127.0.0.1:7860/startup-events "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
51 |
+
[38;20m2024-04-09 14:55:21,893 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
52 |
+
[38;20m2024-04-09 14:55:21,893 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
53 |
+
[38;20m2024-04-09 14:55:21,893 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
54 |
+
[38;20m2024-04-09 14:55:21,893 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
55 |
+
[38;20m2024-04-09 14:55:21,895 - httpx - DEBUG - load_ssl_context verify=False cert=None trust_env=True http2=False (_config.py:79)[0m
|
56 |
+
[38;20m2024-04-09 14:55:21,896 - httpx - DEBUG - load_ssl_context verify=False cert=None trust_env=True http2=False (_config.py:79)[0m
|
57 |
+
[38;20m2024-04-09 14:55:21,896 - httpx - DEBUG - load_ssl_context verify=False cert=None trust_env=True http2=False (_config.py:79)[0m
|
58 |
+
[38;20m2024-04-09 14:55:21,896 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=3 socket_options=None (_trace.py:45)[0m
|
59 |
+
[38;20m2024-04-09 14:55:21,896 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x1340bdf10> (_trace.py:45)[0m
|
60 |
+
[38;20m2024-04-09 14:55:21,896 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'HEAD']> (_trace.py:45)[0m
|
61 |
+
[38;20m2024-04-09 14:55:21,897 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
62 |
+
[38;20m2024-04-09 14:55:21,897 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'HEAD']> (_trace.py:45)[0m
|
63 |
+
[38;20m2024-04-09 14:55:21,897 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
64 |
+
[38;20m2024-04-09 14:55:21,897 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'HEAD']> (_trace.py:45)[0m
|
65 |
+
[38;20m2024-04-09 14:55:21,936 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Connection', b'close'), (b'Content-Length', b'8960'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Date', b'Tue, 09 Apr 2024 06:55:21 GMT'), (b'Server', b'uvicorn')]) (_trace.py:45)[0m
|
66 |
+
[38;20m2024-04-09 14:55:21,936 - httpx - INFO - HTTP Request: HEAD http://127.0.0.1:7860/ "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
67 |
+
[38;20m2024-04-09 14:55:21,936 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'HEAD']> (_trace.py:45)[0m
|
68 |
+
[38;20m2024-04-09 14:55:21,936 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
69 |
+
[38;20m2024-04-09 14:55:21,936 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
70 |
+
[38;20m2024-04-09 14:55:21,936 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
71 |
+
[38;20m2024-04-09 14:55:21,937 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
72 |
+
[38;20m2024-04-09 14:55:21,937 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
73 |
+
[38;20m2024-04-09 14:55:21,943 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
74 |
+
[38;20m2024-04-09 14:55:21,943 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
75 |
+
[38;20m2024-04-09 14:55:21,949 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
76 |
+
[38;20m2024-04-09 14:55:21,949 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
77 |
+
[38;20m2024-04-09 14:55:21,955 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=3 socket_options=None (_trace.py:45)[0m
|
78 |
+
[38;20m2024-04-09 14:55:21,956 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124d57050> (_trace.py:45)[0m
|
79 |
+
[38;20m2024-04-09 14:55:21,956 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
80 |
+
[38;20m2024-04-09 14:55:21,956 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
81 |
+
[38;20m2024-04-09 14:55:21,956 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
82 |
+
[38;20m2024-04-09 14:55:21,956 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
83 |
+
[38;20m2024-04-09 14:55:21,956 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
84 |
+
[38;20m2024-04-09 14:55:21,956 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
85 |
+
[38;20m2024-04-09 14:55:21,956 - httpcore.proxy - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x134096ba0> server_hostname='checkip.amazonaws.com' timeout=3 (_trace.py:45)[0m
|
86 |
+
[38;20m2024-04-09 14:55:22,013 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:55:21 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'3'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) (_trace.py:45)[0m
|
87 |
+
[38;20m2024-04-09 14:55:22,013 - httpx - INFO - HTTP Request: GET https://api.gradio.app/gradio-messaging/en "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
88 |
+
[38;20m2024-04-09 14:55:22,013 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
89 |
+
[38;20m2024-04-09 14:55:22,013 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
90 |
+
[38;20m2024-04-09 14:55:22,013 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
91 |
+
[38;20m2024-04-09 14:55:22,013 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
92 |
+
[38;20m2024-04-09 14:55:22,033 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124b27950> (_trace.py:45)[0m
|
93 |
+
[38;20m2024-04-09 14:55:22,033 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
94 |
+
[38;20m2024-04-09 14:55:22,033 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
95 |
+
[38;20m2024-04-09 14:55:22,033 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
96 |
+
[38;20m2024-04-09 14:55:22,033 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
97 |
+
[38;20m2024-04-09 14:55:22,033 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
98 |
+
[38;20m2024-04-09 14:55:22,109 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x134021050> (_trace.py:45)[0m
|
99 |
+
[38;20m2024-04-09 14:55:22,109 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
100 |
+
[38;20m2024-04-09 14:55:22,109 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
101 |
+
[38;20m2024-04-09 14:55:22,109 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
102 |
+
[38;20m2024-04-09 14:55:22,109 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
103 |
+
[38;20m2024-04-09 14:55:22,109 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
104 |
+
[38;20m2024-04-09 14:55:22,177 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'', [(b'Date', b'Tue, 09 Apr 2024 06:55:22 GMT'), (b'Content-Type', b'text/plain;charset=UTF-8'), (b'Content-Length', b'16'), (b'Connection', b'keep-alive'), (b'Server', b'nginx')]) (_trace.py:45)[0m
|
105 |
+
[38;20m2024-04-09 14:55:22,177 - httpx - INFO - HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 " (_client.py:1013)[0m
|
106 |
+
[38;20m2024-04-09 14:55:22,177 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
107 |
+
[38;20m2024-04-09 14:55:22,177 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
108 |
+
[38;20m2024-04-09 14:55:22,177 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
109 |
+
[38;20m2024-04-09 14:55:22,177 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
110 |
+
[38;20m2024-04-09 14:55:22,179 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
111 |
+
[38;20m2024-04-09 14:55:22,180 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
112 |
+
[38;20m2024-04-09 14:55:22,186 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
113 |
+
[38;20m2024-04-09 14:55:22,186 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
114 |
+
[38;20m2024-04-09 14:55:22,192 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
115 |
+
[38;20m2024-04-09 14:55:22,192 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
116 |
+
[38;20m2024-04-09 14:55:22,198 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=5 socket_options=None (_trace.py:45)[0m
|
117 |
+
[38;20m2024-04-09 14:55:22,198 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124d83d10> (_trace.py:45)[0m
|
118 |
+
[38;20m2024-04-09 14:55:22,198 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
119 |
+
[38;20m2024-04-09 14:55:22,198 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
120 |
+
[38;20m2024-04-09 14:55:22,198 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
121 |
+
[38;20m2024-04-09 14:55:22,198 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
122 |
+
[38;20m2024-04-09 14:55:22,198 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
123 |
+
[38;20m2024-04-09 14:55:22,199 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
124 |
+
[38;20m2024-04-09 14:55:22,199 - httpcore.proxy - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x1147c3140> server_hostname='api.gradio.app' timeout=5 (_trace.py:45)[0m
|
125 |
+
[38;20m2024-04-09 14:55:22,207 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x134045510> (_trace.py:45)[0m
|
126 |
+
[38;20m2024-04-09 14:55:22,207 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
127 |
+
[38;20m2024-04-09 14:55:22,207 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
128 |
+
[38;20m2024-04-09 14:55:22,207 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
129 |
+
[38;20m2024-04-09 14:55:22,207 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
130 |
+
[38;20m2024-04-09 14:55:22,207 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
131 |
+
[38;20m2024-04-09 14:55:22,208 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'', [(b'Date', b'Tue, 09 Apr 2024 06:55:22 GMT'), (b'Content-Type', b'text/plain;charset=UTF-8'), (b'Content-Length', b'16'), (b'Connection', b'keep-alive'), (b'Server', b'nginx')]) (_trace.py:45)[0m
|
132 |
+
[38;20m2024-04-09 14:55:22,209 - httpx - INFO - HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 " (_client.py:1013)[0m
|
133 |
+
[38;20m2024-04-09 14:55:22,209 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
134 |
+
[38;20m2024-04-09 14:55:22,209 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
135 |
+
[38;20m2024-04-09 14:55:22,209 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
136 |
+
[38;20m2024-04-09 14:55:22,209 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
137 |
+
[38;20m2024-04-09 14:55:22,211 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
138 |
+
[38;20m2024-04-09 14:55:22,211 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
139 |
+
[38;20m2024-04-09 14:55:22,217 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
140 |
+
[38;20m2024-04-09 14:55:22,217 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
141 |
+
[38;20m2024-04-09 14:55:22,223 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
142 |
+
[38;20m2024-04-09 14:55:22,223 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
143 |
+
[38;20m2024-04-09 14:55:22,229 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=5 socket_options=None (_trace.py:45)[0m
|
144 |
+
[38;20m2024-04-09 14:55:22,229 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124d8a0d0> (_trace.py:45)[0m
|
145 |
+
[38;20m2024-04-09 14:55:22,229 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
146 |
+
[38;20m2024-04-09 14:55:22,229 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
147 |
+
[38;20m2024-04-09 14:55:22,229 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
148 |
+
[38;20m2024-04-09 14:55:22,229 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
149 |
+
[38;20m2024-04-09 14:55:22,229 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
150 |
+
[38;20m2024-04-09 14:55:22,230 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
151 |
+
[38;20m2024-04-09 14:55:22,230 - httpcore.proxy - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x124b8ccb0> server_hostname='api.gradio.app' timeout=5 (_trace.py:45)[0m
|
152 |
+
[38;20m2024-04-09 14:55:22,317 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'', [(b'Date', b'Tue, 09 Apr 2024 06:55:22 GMT'), (b'Content-Type', b'text/plain;charset=UTF-8'), (b'Content-Length', b'16'), (b'Connection', b'keep-alive'), (b'Server', b'nginx')]) (_trace.py:45)[0m
|
153 |
+
[38;20m2024-04-09 14:55:22,317 - httpx - INFO - HTTP Request: GET https://checkip.amazonaws.com/ "HTTP/1.1 200 " (_client.py:1013)[0m
|
154 |
+
[38;20m2024-04-09 14:55:22,317 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
155 |
+
[38;20m2024-04-09 14:55:22,317 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
156 |
+
[38;20m2024-04-09 14:55:22,317 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
157 |
+
[38;20m2024-04-09 14:55:22,317 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
158 |
+
[38;20m2024-04-09 14:55:22,319 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
159 |
+
[38;20m2024-04-09 14:55:22,320 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
160 |
+
[38;20m2024-04-09 14:55:22,325 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
161 |
+
[38;20m2024-04-09 14:55:22,326 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
162 |
+
[38;20m2024-04-09 14:55:22,331 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
163 |
+
[38;20m2024-04-09 14:55:22,332 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
164 |
+
[38;20m2024-04-09 14:55:22,338 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=5 socket_options=None (_trace.py:45)[0m
|
165 |
+
[38;20m2024-04-09 14:55:22,338 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124d0c890> (_trace.py:45)[0m
|
166 |
+
[38;20m2024-04-09 14:55:22,338 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
167 |
+
[38;20m2024-04-09 14:55:22,338 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
168 |
+
[38;20m2024-04-09 14:55:22,338 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
169 |
+
[38;20m2024-04-09 14:55:22,338 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
170 |
+
[38;20m2024-04-09 14:55:22,338 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
171 |
+
[38;20m2024-04-09 14:55:22,338 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
172 |
+
[38;20m2024-04-09 14:55:22,339 - httpcore.proxy - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x1340c97f0> server_hostname='api.gradio.app' timeout=5 (_trace.py:45)[0m
|
173 |
+
[38;20m2024-04-09 14:55:22,435 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x1340bed10> (_trace.py:45)[0m
|
174 |
+
[38;20m2024-04-09 14:55:22,435 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
175 |
+
[38;20m2024-04-09 14:55:22,436 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
176 |
+
[38;20m2024-04-09 14:55:22,436 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
177 |
+
[38;20m2024-04-09 14:55:22,436 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
178 |
+
[38;20m2024-04-09 14:55:22,436 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
179 |
+
[38;20m2024-04-09 14:55:22,492 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x114550590> (_trace.py:45)[0m
|
180 |
+
[38;20m2024-04-09 14:55:22,493 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
181 |
+
[38;20m2024-04-09 14:55:22,493 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
182 |
+
[38;20m2024-04-09 14:55:22,493 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
183 |
+
[38;20m2024-04-09 14:55:22,493 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
184 |
+
[38;20m2024-04-09 14:55:22,493 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
185 |
+
[38;20m2024-04-09 14:55:22,752 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:55:22 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) (_trace.py:45)[0m
|
186 |
+
[38;20m2024-04-09 14:55:22,752 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
187 |
+
[38;20m2024-04-09 14:55:22,752 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
188 |
+
[38;20m2024-04-09 14:55:22,752 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
189 |
+
[38;20m2024-04-09 14:55:22,752 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
190 |
+
[38;20m2024-04-09 14:55:22,752 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
191 |
+
[38;20m2024-04-09 14:55:22,754 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:55:22 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) (_trace.py:45)[0m
|
192 |
+
[38;20m2024-04-09 14:55:22,755 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
193 |
+
[38;20m2024-04-09 14:55:22,755 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
194 |
+
[38;20m2024-04-09 14:55:22,755 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
195 |
+
[38;20m2024-04-09 14:55:22,755 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
196 |
+
[38;20m2024-04-09 14:55:22,755 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
197 |
+
[38;20m2024-04-09 14:55:22,779 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x1245c6ad0> (_trace.py:45)[0m
|
198 |
+
[38;20m2024-04-09 14:55:22,779 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
199 |
+
[38;20m2024-04-09 14:55:22,779 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
200 |
+
[38;20m2024-04-09 14:55:22,779 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
201 |
+
[38;20m2024-04-09 14:55:22,779 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
202 |
+
[38;20m2024-04-09 14:55:22,779 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
203 |
+
[38;20m2024-04-09 14:55:22,852 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124d62650> (_trace.py:45)[0m
|
204 |
+
[38;20m2024-04-09 14:55:22,853 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
205 |
+
[38;20m2024-04-09 14:55:22,853 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
206 |
+
[38;20m2024-04-09 14:55:22,853 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
207 |
+
[38;20m2024-04-09 14:55:22,853 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
208 |
+
[38;20m2024-04-09 14:55:22,853 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
209 |
+
[38;20m2024-04-09 14:55:22,913 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124520210> (_trace.py:45)[0m
|
210 |
+
[38;20m2024-04-09 14:55:22,913 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
211 |
+
[38;20m2024-04-09 14:55:22,913 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
212 |
+
[38;20m2024-04-09 14:55:22,913 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
213 |
+
[38;20m2024-04-09 14:55:22,913 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
214 |
+
[38;20m2024-04-09 14:55:22,913 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
215 |
+
[38;20m2024-04-09 14:55:23,117 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:55:23 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) (_trace.py:45)[0m
|
216 |
+
[38;20m2024-04-09 14:55:23,117 - httpx - INFO - HTTP Request: POST https://api.gradio.app/gradio-initiated-analytics/ "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
217 |
+
[38;20m2024-04-09 14:55:23,117 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
218 |
+
[38;20m2024-04-09 14:55:23,117 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
219 |
+
[38;20m2024-04-09 14:55:23,117 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
220 |
+
[38;20m2024-04-09 14:55:23,117 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
221 |
+
[38;20m2024-04-09 14:55:23,187 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:55:23 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) (_trace.py:45)[0m
|
222 |
+
[38;20m2024-04-09 14:55:23,187 - httpx - INFO - HTTP Request: POST https://api.gradio.app/gradio-initiated-analytics/ "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
223 |
+
[38;20m2024-04-09 14:55:23,187 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
224 |
+
[38;20m2024-04-09 14:55:23,187 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
225 |
+
[38;20m2024-04-09 14:55:23,187 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
226 |
+
[38;20m2024-04-09 14:55:23,187 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
227 |
+
[38;20m2024-04-09 14:55:23,229 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:55:23 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) (_trace.py:45)[0m
|
228 |
+
[38;20m2024-04-09 14:55:23,229 - httpx - INFO - HTTP Request: POST https://api.gradio.app/gradio-launched-telemetry/ "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
229 |
+
[38;20m2024-04-09 14:55:23,229 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
230 |
+
[38;20m2024-04-09 14:55:23,229 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
231 |
+
[38;20m2024-04-09 14:55:23,229 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
232 |
+
[38;20m2024-04-09 14:55:23,229 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
233 |
+
[38;20m2024-04-09 14:55:27,172 - matplotlib - DEBUG - matplotlib data path: /opt/homebrew/lib/python3.11/site-packages/matplotlib/mpl-data (__init__.py:337)[0m
|
234 |
+
[38;20m2024-04-09 14:55:27,176 - matplotlib - DEBUG - CONFIGDIR=/Users/louisshe/.matplotlib (__init__.py:337)[0m
|
235 |
+
[38;20m2024-04-09 14:55:27,177 - matplotlib - DEBUG - interactive is False (__init__.py:1498)[0m
|
236 |
+
[38;20m2024-04-09 14:55:27,177 - matplotlib - DEBUG - platform is darwin (__init__.py:1499)[0m
|
237 |
+
[38;20m2024-04-09 14:55:27,208 - matplotlib - DEBUG - CACHEDIR=/Users/louisshe/.matplotlib (__init__.py:337)[0m
|
238 |
+
[38;20m2024-04-09 14:55:27,210 - matplotlib.font_manager - DEBUG - Using fontManager instance from /Users/louisshe/.matplotlib/fontlist-v330.json (font_manager.py:1574)[0m
|
239 |
+
[38;20m2024-04-09 14:55:27,338 - matplotlib.pyplot - DEBUG - Loaded backend macosx version unknown. (pyplot.py:414)[0m
|
240 |
+
[38;20m2024-04-09 14:55:27,339 - matplotlib.pyplot - DEBUG - Loaded backend agg version v2.2. (pyplot.py:414)[0m
|
241 |
+
[38;20m2024-04-09 14:55:28,342 - matplotlib.pyplot - DEBUG - Loaded backend MacOSX version unknown. (pyplot.py:414)[0m
|
242 |
+
[38;20m2024-04-09 14:55:28,544 - matplotlib.pyplot - DEBUG - Loaded backend agg version v2.2. (pyplot.py:414)[0m
|
243 |
+
[38;20m2024-04-09 14:55:29,063 - root - DEBUG - test (app.py:60)[0m
|
244 |
+
[38;20m2024-04-09 14:55:32,121 - root - INFO - testvewqfewqfewq (app.py:60)[0m
|
245 |
+
[33;20m2024-04-09 14:55:33,342 - root - WARNING - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
246 |
+
[31;1m2024-04-09 14:55:34,823 - root - CRITICAL - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
247 |
+
[31;20m2024-04-09 14:55:35,486 - root - ERROR - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
248 |
+
[31;1m2024-04-09 14:55:36,200 - root - CRITICAL - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
249 |
+
[31;20m2024-04-09 14:55:37,067 - root - ERROR - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
250 |
+
[31;1m2024-04-09 14:55:38,031 - root - CRITICAL - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
251 |
+
[33;20m2024-04-09 14:55:38,539 - root - WARNING - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
252 |
+
[38;20m2024-04-09 14:55:38,994 - root - INFO - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
253 |
+
[38;20m2024-04-09 14:55:39,347 - root - DEBUG - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
254 |
+
[38;20m2024-04-09 14:55:39,651 - root - INFO - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
255 |
+
[33;20m2024-04-09 14:55:39,854 - root - WARNING - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
256 |
+
[31;1m2024-04-09 14:55:40,058 - root - CRITICAL - testvewqfewqfewqfewqfqwe (app.py:60)[0m
|
257 |
+
[38;20m2024-04-09 14:56:30,306 - root - INFO - Use the left column to log messages to a file, and the log will be displayed in here. (app.py:48)[0m
|
258 |
+
[38;20m2024-04-09 14:56:30,308 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
259 |
+
[38;20m2024-04-09 14:56:30,308 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
260 |
+
[38;20m2024-04-09 14:56:30,323 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
261 |
+
[38;20m2024-04-09 14:56:30,323 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
262 |
+
[38;20m2024-04-09 14:56:30,335 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
263 |
+
[38;20m2024-04-09 14:56:30,335 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
264 |
+
[38;20m2024-04-09 14:56:30,339 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
265 |
+
[38;20m2024-04-09 14:56:30,339 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
266 |
+
[38;20m2024-04-09 14:56:30,345 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
267 |
+
[38;20m2024-04-09 14:56:30,345 - httpx - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
268 |
+
[38;20m2024-04-09 14:56:30,345 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
269 |
+
[38;20m2024-04-09 14:56:30,345 - httpx - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
270 |
+
[38;20m2024-04-09 14:56:30,350 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=3 socket_options=None (_trace.py:45)[0m
|
271 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.connection - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=5 socket_options=None (_trace.py:45)[0m
|
272 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13408f890> (_trace.py:45)[0m
|
273 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
274 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13408e750> (_trace.py:45)[0m
|
275 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
276 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
277 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
278 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
279 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
280 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
281 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
282 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
283 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
284 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
285 |
+
[38;20m2024-04-09 14:56:30,351 - httpcore.proxy - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x124b8fc80> server_hostname='api.gradio.app' timeout=3 (_trace.py:45)[0m
|
286 |
+
[38;20m2024-04-09 14:56:30,352 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
287 |
+
[38;20m2024-04-09 14:56:30,352 - httpcore.proxy - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x124b8f770> server_hostname='api.gradio.app' timeout=5 (_trace.py:45)[0m
|
288 |
+
[38;20m2024-04-09 14:56:30,942 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13408d590> (_trace.py:45)[0m
|
289 |
+
[38;20m2024-04-09 14:56:30,942 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
290 |
+
[38;20m2024-04-09 14:56:30,942 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
291 |
+
[38;20m2024-04-09 14:56:30,942 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
292 |
+
[38;20m2024-04-09 14:56:30,942 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
293 |
+
[38;20m2024-04-09 14:56:30,942 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
294 |
+
[38;20m2024-04-09 14:56:30,945 - httpcore.proxy - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13408da10> (_trace.py:45)[0m
|
295 |
+
[38;20m2024-04-09 14:56:30,945 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
296 |
+
[38;20m2024-04-09 14:56:30,945 - httpcore.http11 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
297 |
+
[38;20m2024-04-09 14:56:30,945 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
298 |
+
[38;20m2024-04-09 14:56:30,945 - httpcore.http11 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
299 |
+
[38;20m2024-04-09 14:56:30,945 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
300 |
+
[38;20m2024-04-09 14:56:31,143 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:56:31 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) (_trace.py:45)[0m
|
301 |
+
[38;20m2024-04-09 14:56:31,143 - httpx - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
302 |
+
[38;20m2024-04-09 14:56:31,143 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
303 |
+
[38;20m2024-04-09 14:56:31,143 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
304 |
+
[38;20m2024-04-09 14:56:31,143 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
305 |
+
[38;20m2024-04-09 14:56:31,143 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
306 |
+
[38;20m2024-04-09 14:56:31,285 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:56:31 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) (_trace.py:45)[0m
|
307 |
+
[38;20m2024-04-09 14:56:31,285 - httpx - INFO - HTTP Request: POST https://api.gradio.app/gradio-initiated-analytics/ "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
308 |
+
[38;20m2024-04-09 14:56:31,285 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
309 |
+
[38;20m2024-04-09 14:56:31,285 - httpcore.http11 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
310 |
+
[38;20m2024-04-09 14:56:31,285 - httpcore.http11 - DEBUG - response_closed.started (_trace.py:45)[0m
|
311 |
+
[38;20m2024-04-09 14:56:31,285 - httpcore.http11 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
312 |
+
[38;20m2024-04-09 14:56:55,353 - INFO - Use the left column to log messages to a file, and the log will be displayed in here. (app.py:46)[0m
|
313 |
+
[38;20m2024-04-09 14:56:55,355 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
314 |
+
[38;20m2024-04-09 14:56:55,355 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
315 |
+
[38;20m2024-04-09 14:56:55,355 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
316 |
+
[38;20m2024-04-09 14:56:55,355 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
317 |
+
[38;20m2024-04-09 14:56:55,367 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
318 |
+
[38;20m2024-04-09 14:56:55,367 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
319 |
+
[38;20m2024-04-09 14:56:55,370 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
320 |
+
[38;20m2024-04-09 14:56:55,370 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
321 |
+
[38;20m2024-04-09 14:56:55,382 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
322 |
+
[38;20m2024-04-09 14:56:55,382 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
323 |
+
[38;20m2024-04-09 14:56:55,386 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
324 |
+
[38;20m2024-04-09 14:56:55,386 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
325 |
+
[38;20m2024-04-09 14:56:55,391 - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=5 socket_options=None (_trace.py:45)[0m
|
326 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=3 socket_options=None (_trace.py:45)[0m
|
327 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x134dfffd0> (_trace.py:45)[0m
|
328 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
329 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x1353dbb90> (_trace.py:45)[0m
|
330 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
331 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
332 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
333 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
334 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
335 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
336 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
337 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
338 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
339 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
340 |
+
[38;20m2024-04-09 14:56:55,392 - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x1245957f0> server_hostname='api.gradio.app' timeout=5 (_trace.py:45)[0m
|
341 |
+
[38;20m2024-04-09 14:56:55,393 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
342 |
+
[38;20m2024-04-09 14:56:55,393 - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x135241c70> server_hostname='api.gradio.app' timeout=3 (_trace.py:45)[0m
|
343 |
+
[38;20m2024-04-09 14:56:56,944 - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x135356c50> (_trace.py:45)[0m
|
344 |
+
[38;20m2024-04-09 14:56:56,944 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
345 |
+
[38;20m2024-04-09 14:56:56,944 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
346 |
+
[38;20m2024-04-09 14:56:56,945 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
347 |
+
[38;20m2024-04-09 14:56:56,945 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
348 |
+
[38;20m2024-04-09 14:56:56,945 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
349 |
+
[38;20m2024-04-09 14:56:57,152 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:56:57 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) (_trace.py:45)[0m
|
350 |
+
[38;20m2024-04-09 14:56:57,152 - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
351 |
+
[38;20m2024-04-09 14:56:57,152 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
352 |
+
[38;20m2024-04-09 14:56:57,152 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
353 |
+
[38;20m2024-04-09 14:56:57,152 - DEBUG - response_closed.started (_trace.py:45)[0m
|
354 |
+
[38;20m2024-04-09 14:56:57,153 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
355 |
+
[38;20m2024-04-09 14:56:57,255 - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124d61a90> (_trace.py:45)[0m
|
356 |
+
[38;20m2024-04-09 14:56:57,256 - DEBUG - send_request_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
357 |
+
[38;20m2024-04-09 14:56:57,256 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
358 |
+
[38;20m2024-04-09 14:56:57,256 - DEBUG - send_request_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
359 |
+
[38;20m2024-04-09 14:56:57,256 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
360 |
+
[38;20m2024-04-09 14:56:57,256 - DEBUG - receive_response_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
361 |
+
[38;20m2024-04-09 14:56:57,592 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:56:57 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) (_trace.py:45)[0m
|
362 |
+
[38;20m2024-04-09 14:56:57,592 - INFO - HTTP Request: POST https://api.gradio.app/gradio-initiated-analytics/ "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
363 |
+
[38;20m2024-04-09 14:56:57,592 - DEBUG - receive_response_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
364 |
+
[38;20m2024-04-09 14:56:57,592 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
365 |
+
[38;20m2024-04-09 14:56:57,592 - DEBUG - response_closed.started (_trace.py:45)[0m
|
366 |
+
[38;20m2024-04-09 14:56:57,592 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
367 |
+
[38;20m2024-04-09 14:57:07,695 - DEBUG - test (app.py:54)[0m
|
368 |
+
[38;20m2024-04-09 14:57:09,770 - INFO - test (app.py:54)[0m
|
369 |
+
[32;20m2024-04-09 14:57:53,713 - INFO - Use the left column to log messages to a file, and the log will be displayed in here. (app.py:47)[0m
|
370 |
+
[34;20m2024-04-09 14:57:53,715 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
371 |
+
[34;20m2024-04-09 14:57:53,716 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
372 |
+
[34;20m2024-04-09 14:57:53,721 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
373 |
+
[34;20m2024-04-09 14:57:53,722 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
374 |
+
[34;20m2024-04-09 14:57:53,731 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
375 |
+
[34;20m2024-04-09 14:57:53,731 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
376 |
+
[34;20m2024-04-09 14:57:53,742 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
377 |
+
[34;20m2024-04-09 14:57:53,747 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
378 |
+
[34;20m2024-04-09 14:57:53,747 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
379 |
+
[34;20m2024-04-09 14:57:53,747 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
380 |
+
[34;20m2024-04-09 14:57:53,753 - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=3 socket_options=None (_trace.py:45)[0m
|
381 |
+
[34;20m2024-04-09 14:57:53,753 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
382 |
+
[34;20m2024-04-09 14:57:53,753 - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x1354d1010> (_trace.py:45)[0m
|
383 |
+
[34;20m2024-04-09 14:57:53,753 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
384 |
+
[34;20m2024-04-09 14:57:53,753 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
385 |
+
[34;20m2024-04-09 14:57:53,753 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
386 |
+
[34;20m2024-04-09 14:57:53,753 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
387 |
+
[34;20m2024-04-09 14:57:53,754 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
388 |
+
[34;20m2024-04-09 14:57:53,754 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
389 |
+
[34;20m2024-04-09 14:57:53,754 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
390 |
+
[34;20m2024-04-09 14:57:53,754 - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x124b8f380> server_hostname='api.gradio.app' timeout=3 (_trace.py:45)[0m
|
391 |
+
[34;20m2024-04-09 14:57:53,759 - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=5 socket_options=None (_trace.py:45)[0m
|
392 |
+
[34;20m2024-04-09 14:57:53,759 - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x1353cb610> (_trace.py:45)[0m
|
393 |
+
[34;20m2024-04-09 14:57:53,759 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
394 |
+
[34;20m2024-04-09 14:57:53,759 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
395 |
+
[34;20m2024-04-09 14:57:53,759 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
396 |
+
[34;20m2024-04-09 14:57:53,759 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
397 |
+
[34;20m2024-04-09 14:57:53,759 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
398 |
+
[34;20m2024-04-09 14:57:53,760 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
399 |
+
[34;20m2024-04-09 14:57:53,760 - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x134094950> server_hostname='api.gradio.app' timeout=5 (_trace.py:45)[0m
|
400 |
+
[34;20m2024-04-09 14:57:54,374 - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x1354d1c10> (_trace.py:45)[0m
|
401 |
+
[34;20m2024-04-09 14:57:54,374 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
402 |
+
[34;20m2024-04-09 14:57:54,374 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
403 |
+
[34;20m2024-04-09 14:57:54,374 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
404 |
+
[34;20m2024-04-09 14:57:54,374 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
405 |
+
[34;20m2024-04-09 14:57:54,374 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
406 |
+
[34;20m2024-04-09 14:57:54,567 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:57:54 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) (_trace.py:45)[0m
|
407 |
+
[32;20m2024-04-09 14:57:54,567 - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
408 |
+
[34;20m2024-04-09 14:57:54,567 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
409 |
+
[34;20m2024-04-09 14:57:54,568 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
410 |
+
[34;20m2024-04-09 14:57:54,568 - DEBUG - response_closed.started (_trace.py:45)[0m
|
411 |
+
[34;20m2024-04-09 14:57:54,568 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
412 |
+
[34;20m2024-04-09 14:57:54,598 - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x134a83d10> (_trace.py:45)[0m
|
413 |
+
[34;20m2024-04-09 14:57:54,598 - DEBUG - send_request_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
414 |
+
[34;20m2024-04-09 14:57:54,598 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
415 |
+
[34;20m2024-04-09 14:57:54,598 - DEBUG - send_request_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
416 |
+
[34;20m2024-04-09 14:57:54,598 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
417 |
+
[34;20m2024-04-09 14:57:54,598 - DEBUG - receive_response_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
418 |
+
[34;20m2024-04-09 14:57:54,903 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:57:54 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) (_trace.py:45)[0m
|
419 |
+
[32;20m2024-04-09 14:57:54,903 - INFO - HTTP Request: POST https://api.gradio.app/gradio-initiated-analytics/ "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
420 |
+
[34;20m2024-04-09 14:57:54,903 - DEBUG - receive_response_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
421 |
+
[34;20m2024-04-09 14:57:54,903 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
422 |
+
[34;20m2024-04-09 14:57:54,903 - DEBUG - response_closed.started (_trace.py:45)[0m
|
423 |
+
[34;20m2024-04-09 14:57:54,903 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
424 |
+
[32;20m2024-04-09 14:58:05,230 - INFO - test (app.py:55)[0m
|
425 |
+
[31;1m2024-04-09 14:58:06,141 - CRITICAL - test (app.py:55)[0m
|
426 |
+
[33;20m2024-04-09 14:58:07,004 - WARNING - test (app.py:55)[0m
|
427 |
+
[31;20m2024-04-09 14:58:07,770 - ERROR - test (app.py:55)[0m
|
428 |
+
[34;20m2024-04-09 14:58:08,688 - DEBUG - test (app.py:55)[0m
|
429 |
+
[32;20m2024-04-09 14:58:23,054 - INFO - Use the left column to log messages to a file, and the log will be displayed in here. (app.py:47)[0m
|
430 |
+
[34;20m2024-04-09 14:58:23,056 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
431 |
+
[34;20m2024-04-09 14:58:23,056 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
432 |
+
[34;20m2024-04-09 14:58:23,056 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
433 |
+
[34;20m2024-04-09 14:58:23,057 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
434 |
+
[34;20m2024-04-09 14:58:23,070 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
435 |
+
[34;20m2024-04-09 14:58:23,070 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
436 |
+
[34;20m2024-04-09 14:58:23,073 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
437 |
+
[34;20m2024-04-09 14:58:23,073 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
438 |
+
[34;20m2024-04-09 14:58:23,085 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
439 |
+
[34;20m2024-04-09 14:58:23,085 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False (_config.py:79)[0m
|
440 |
+
[34;20m2024-04-09 14:58:23,088 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
441 |
+
[34;20m2024-04-09 14:58:23,088 - DEBUG - load_verify_locations cafile='/opt/homebrew/lib/python3.11/site-packages/certifi/cacert.pem' (_config.py:146)[0m
|
442 |
+
[34;20m2024-04-09 14:58:23,094 - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=5 socket_options=None (_trace.py:45)[0m
|
443 |
+
[34;20m2024-04-09 14:58:23,094 - DEBUG - connect_tcp.started host='127.0.0.1' port=7890 local_address=None timeout=3 socket_options=None (_trace.py:45)[0m
|
444 |
+
[34;20m2024-04-09 14:58:23,094 - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13400c710> (_trace.py:45)[0m
|
445 |
+
[34;20m2024-04-09 14:58:23,094 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
446 |
+
[34;20m2024-04-09 14:58:23,094 - DEBUG - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x124dfc910> (_trace.py:45)[0m
|
447 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
448 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
449 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - send_request_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
450 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
451 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
452 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
453 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - send_request_body.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
454 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
455 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
456 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - receive_response_headers.started request=<Request [b'CONNECT']> (_trace.py:45)[0m
|
457 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x1354bff50> server_hostname='api.gradio.app' timeout=3 (_trace.py:45)[0m
|
458 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) (_trace.py:45)[0m
|
459 |
+
[34;20m2024-04-09 14:58:23,095 - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x1354bf890> server_hostname='api.gradio.app' timeout=5 (_trace.py:45)[0m
|
460 |
+
[34;20m2024-04-09 14:58:23,806 - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13400e3d0> (_trace.py:45)[0m
|
461 |
+
[34;20m2024-04-09 14:58:23,806 - DEBUG - send_request_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
462 |
+
[34;20m2024-04-09 14:58:23,807 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
463 |
+
[34;20m2024-04-09 14:58:23,807 - DEBUG - send_request_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
464 |
+
[34;20m2024-04-09 14:58:23,807 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
465 |
+
[34;20m2024-04-09 14:58:23,807 - DEBUG - receive_response_headers.started request=<Request [b'GET']> (_trace.py:45)[0m
|
466 |
+
[34;20m2024-04-09 14:58:23,813 - DEBUG - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x13400dbd0> (_trace.py:45)[0m
|
467 |
+
[34;20m2024-04-09 14:58:23,813 - DEBUG - send_request_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
468 |
+
[34;20m2024-04-09 14:58:23,813 - DEBUG - send_request_headers.complete (_trace.py:45)[0m
|
469 |
+
[34;20m2024-04-09 14:58:23,813 - DEBUG - send_request_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
470 |
+
[34;20m2024-04-09 14:58:23,813 - DEBUG - send_request_body.complete (_trace.py:45)[0m
|
471 |
+
[34;20m2024-04-09 14:58:23,813 - DEBUG - receive_response_headers.started request=<Request [b'POST']> (_trace.py:45)[0m
|
472 |
+
[34;20m2024-04-09 14:58:24,005 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:58:23 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'21'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*')]) (_trace.py:45)[0m
|
473 |
+
[32;20m2024-04-09 14:58:24,005 - INFO - HTTP Request: GET https://api.gradio.app/pkg-version "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
474 |
+
[34;20m2024-04-09 14:58:24,005 - DEBUG - receive_response_body.started request=<Request [b'GET']> (_trace.py:45)[0m
|
475 |
+
[34;20m2024-04-09 14:58:24,005 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
476 |
+
[34;20m2024-04-09 14:58:24,005 - DEBUG - response_closed.started (_trace.py:45)[0m
|
477 |
+
[34;20m2024-04-09 14:58:24,005 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
478 |
+
[34;20m2024-04-09 14:58:24,186 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Tue, 09 Apr 2024 06:58:24 GMT'), (b'Content-Type', b'text/html; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Server', b'nginx/1.18.0'), (b'Access-Control-Allow-Origin', b'*'), (b'Content-Encoding', b'gzip')]) (_trace.py:45)[0m
|
479 |
+
[32;20m2024-04-09 14:58:24,186 - INFO - HTTP Request: POST https://api.gradio.app/gradio-initiated-analytics/ "HTTP/1.1 200 OK" (_client.py:1013)[0m
|
480 |
+
[34;20m2024-04-09 14:58:24,186 - DEBUG - receive_response_body.started request=<Request [b'POST']> (_trace.py:45)[0m
|
481 |
+
[34;20m2024-04-09 14:58:24,187 - DEBUG - receive_response_body.complete (_trace.py:45)[0m
|
482 |
+
[34;20m2024-04-09 14:58:24,187 - DEBUG - response_closed.started (_trace.py:45)[0m
|
483 |
+
[34;20m2024-04-09 14:58:24,187 - DEBUG - response_closed.complete (_trace.py:45)[0m
|
484 |
+
[32;20m2024-04-09 14:58:27,766 - INFO - test (app.py:55)[0m
|
485 |
+
[33;20m2024-04-09 14:58:28,634 - WARNING - test (app.py:55)[0m
|
486 |
+
[31;20m2024-04-09 14:58:29,449 - ERROR - test (app.py:55)[0m
|
487 |
+
[31;1m2024-04-09 14:58:29,855 - CRITICAL - test (app.py:55)[0m
|