Update app.py
Browse files
app.py
CHANGED
|
@@ -56,6 +56,12 @@ with gr.Blocks() as web:
|
|
| 56 |
with gr.Column(scale=1):
|
| 57 |
confidence_box = gr.Textbox(label="AI Percentage", interactive=False)
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
# Bind functions
|
| 60 |
cpp_file.change(fn=load_cpp_file, inputs=cpp_file, outputs=code_box)
|
| 61 |
check_btn.click(
|
|
|
|
| 56 |
with gr.Column(scale=1):
|
| 57 |
confidence_box = gr.Textbox(label="AI Percentage", interactive=False)
|
| 58 |
|
| 59 |
+
gr.Markdown(
|
| 60 |
+
"<p style='font-size: 0.9em; color: gray;'>"
|
| 61 |
+
"<strong>Note:</strong> You can submit any type of text, but we recommend submitting C++ code, as that is what our model was trained on."
|
| 62 |
+
"</p>"
|
| 63 |
+
)
|
| 64 |
+
|
| 65 |
# Bind functions
|
| 66 |
cpp_file.change(fn=load_cpp_file, inputs=cpp_file, outputs=code_box)
|
| 67 |
check_btn.click(
|