Spaces:
Runtime error
Runtime error
retr04error
commited on
Commit
•
6e2190e
1
Parent(s):
e4c0a56
new
Browse files
app.py
CHANGED
@@ -66,10 +66,10 @@ def check_vulnerabilities_interface(solidity_file_url, file_id):
|
|
66 |
interface = gr.Interface(
|
67 |
fn=check_vulnerabilities_interface,
|
68 |
inputs=[
|
69 |
-
gr.
|
70 |
-
gr.
|
71 |
],
|
72 |
-
outputs=
|
73 |
title="Solidity Vulnerability Checker",
|
74 |
description="Enter the URL of a Solidity file and a file ID to check for vulnerabilities."
|
75 |
)
|
|
|
66 |
interface = gr.Interface(
|
67 |
fn=check_vulnerabilities_interface,
|
68 |
inputs=[
|
69 |
+
gr.components.Textbox(label="Solidity File URL", placeholder="Enter URL here...", lines=2),
|
70 |
+
gr.components.Textbox(label="File ID", placeholder="Enter file ID here...", lines=1)
|
71 |
],
|
72 |
+
outputs=gr.components.JSON(),
|
73 |
title="Solidity Vulnerability Checker",
|
74 |
description="Enter the URL of a Solidity file and a file ID to check for vulnerabilities."
|
75 |
)
|