Spaces:
Sleeping
Sleeping
aliasgerovs
commited on
Commit
·
b373c49
1
Parent(s):
2ef7756
Updated
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ with gr.Blocks() as demo:
|
|
99 |
domain_list = ["com", "org", "net", "int", "edu", "gov", "mil"]
|
100 |
gr.Markdown(
|
101 |
"""
|
102 |
-
#
|
103 |
"""
|
104 |
)
|
105 |
with gr.Row():
|
@@ -164,21 +164,21 @@ with gr.Blocks() as demo:
|
|
164 |
with gr.Row():
|
165 |
with gr.Column():
|
166 |
bcLabel = gr.Label(label="Source")
|
|
|
|
|
|
|
167 |
with gr.Column():
|
168 |
bc_highlighter_output = gr.HTML(label="Human vs. AI Highlighter")
|
169 |
|
170 |
# with gr.Column():
|
171 |
# mc1on1Label = gr.Label(label="Creator(1 on 1 Approach)")
|
172 |
|
173 |
-
with gr.Row():
|
174 |
-
with gr.Column():
|
175 |
-
mcLabel = gr.Label(label="Creator")
|
176 |
-
|
177 |
with gr.Row():
|
178 |
with gr.Column():
|
179 |
QLabel = gr.Label(label="Humanized")
|
180 |
-
|
181 |
-
|
|
|
182 |
|
183 |
with gr.Group():
|
184 |
with gr.Row():
|
@@ -309,5 +309,7 @@ with gr.Blocks() as demo:
|
|
309 |
|
310 |
date_from = ""
|
311 |
date_to = ""
|
312 |
-
|
313 |
-
|
|
|
|
|
|
99 |
domain_list = ["com", "org", "net", "int", "edu", "gov", "mil"]
|
100 |
gr.Markdown(
|
101 |
"""
|
102 |
+
# Copyright Checker
|
103 |
"""
|
104 |
)
|
105 |
with gr.Row():
|
|
|
164 |
with gr.Row():
|
165 |
with gr.Column():
|
166 |
bcLabel = gr.Label(label="Source")
|
167 |
+
with gr.Column():
|
168 |
+
mcLabel = gr.Label(label="Creator")
|
169 |
+
with gr.Row():
|
170 |
with gr.Column():
|
171 |
bc_highlighter_output = gr.HTML(label="Human vs. AI Highlighter")
|
172 |
|
173 |
# with gr.Column():
|
174 |
# mc1on1Label = gr.Label(label="Creator(1 on 1 Approach)")
|
175 |
|
|
|
|
|
|
|
|
|
176 |
with gr.Row():
|
177 |
with gr.Column():
|
178 |
QLabel = gr.Label(label="Humanized")
|
179 |
+
|
180 |
+
with gr.Row():
|
181 |
+
quillbot_highlighter_output = gr.HTML(label="Humanized Highlighter")
|
182 |
|
183 |
with gr.Group():
|
184 |
with gr.Row():
|
|
|
309 |
|
310 |
date_from = ""
|
311 |
date_to = ""
|
312 |
+
|
313 |
+
|
314 |
+
if __name__ == "__main__":
|
315 |
+
demo.launch(share=True, server_name="0.0.0.0", server_port = 80, auth=("polygraf-admin", "test@aisd"))
|
nohup.out
CHANGED
@@ -61,3 +61,41 @@ error: externally-managed-environment
|
|
61 |
|
62 |
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
|
63 |
hint: See PEP 668 for the detailed specification.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
|
62 |
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
|
63 |
hint: See PEP 668 for the detailed specification.
|
64 |
+
2024-03-27 11:38:14.074965: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
|
65 |
+
2024-03-27 11:38:14.075038: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
|
66 |
+
2024-03-27 11:38:14.076732: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
|
67 |
+
2024-03-27 11:38:14.085182: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
|
68 |
+
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
|
69 |
+
2024-03-27 11:38:15.346441: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
|
70 |
+
[nltk_data] Downloading package punkt to /root/nltk_data...
|
71 |
+
[nltk_data] Package punkt is already up-to-date!
|
72 |
+
[nltk_data] Downloading package punkt to /root/nltk_data...
|
73 |
+
[nltk_data] Package punkt is already up-to-date!
|
74 |
+
[nltk_data] Downloading package stopwords to /root/nltk_data...
|
75 |
+
[nltk_data] Package stopwords is already up-to-date!
|
76 |
+
[nltk_data] Downloading package punkt to /root/nltk_data...
|
77 |
+
[nltk_data] Package punkt is already up-to-date!
|
78 |
+
[nltk_data] Downloading package punkt to /root/nltk_data...
|
79 |
+
[nltk_data] Package punkt is already up-to-date!
|
80 |
+
[nltk_data] Downloading package stopwords to /root/nltk_data...
|
81 |
+
[nltk_data] Package stopwords is already up-to-date!
|
82 |
+
error: externally-managed-environment
|
83 |
+
|
84 |
+
× This environment is externally managed
|
85 |
+
╰─> To install Python packages system-wide, try apt install
|
86 |
+
python3-xyz, where xyz is the package you are trying to
|
87 |
+
install.
|
88 |
+
|
89 |
+
If you wish to install a non-Debian-packaged Python package,
|
90 |
+
create a virtual environment using python3 -m venv path/to/venv.
|
91 |
+
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
|
92 |
+
sure you have python3-full installed.
|
93 |
+
|
94 |
+
If you wish to install a non-Debian packaged Python application,
|
95 |
+
it may be easiest to use pipx install xyz, which will manage a
|
96 |
+
virtual environment for you. Make sure you have pipx installed.
|
97 |
+
|
98 |
+
See /usr/share/doc/python3.11/README.venv for more information.
|
99 |
+
|
100 |
+
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
|
101 |
+
hint: See PEP 668 for the detailed specification.
|