retr04error commited on
Commit
6e2190e
1 Parent(s): e4c0a56
Files changed (1) hide show
  1. app.py +3 -3
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.inputs.Textbox(label="Solidity File URL", placeholder="Enter URL here..."),
70
- gr.inputs.Textbox(label="File ID", placeholder="Enter file ID here...")
71
  ],
72
- outputs="json",
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
  )