Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -403,7 +403,7 @@ EXAMPLES = [
|
|
| 403 |
["""import sqlite3\nfrom hashlib import sha256\nimport hmac, secrets\n\ndef get_user(username):\n conn = sqlite3.connect('users.db')\n conn.execute("SELECT * FROM users WHERE username = ?", (username,))\n return conn.fetchone()\n"""],
|
| 404 |
]
|
| 405 |
|
| 406 |
-
|
| 407 |
title="Code Security Risk Analyzer v2",
|
| 408 |
theme=gr.themes.Soft(),
|
| 409 |
css=".gradio-container { max-width: 1200px; margin: auto; }",
|
|
|
|
| 403 |
["""import sqlite3\nfrom hashlib import sha256\nimport hmac, secrets\n\ndef get_user(username):\n conn = sqlite3.connect('users.db')\n conn.execute("SELECT * FROM users WHERE username = ?", (username,))\n return conn.fetchone()\n"""],
|
| 404 |
]
|
| 405 |
|
| 406 |
+
with gr.Blocks(
|
| 407 |
title="Code Security Risk Analyzer v2",
|
| 408 |
theme=gr.themes.Soft(),
|
| 409 |
css=".gradio-container { max-width: 1200px; margin: auto; }",
|