CultriX commited on
Commit
36c6acd
1 Parent(s): 1868ad4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,10 +18,10 @@ def dns_lookup(domain, record_type):
18
  iface = gr.Interface(
19
  fn=dns_lookup,
20
  inputs=[
21
- gr.inputs.Textbox(lines=1, placeholder="example.com", label="Domain Name"),
22
- gr.inputs.Dropdown(choices=supported_types, default='A', label="Record Type")
23
  ],
24
- outputs="text",
25
  title="DNS Resolver",
26
  description="Enter a domain name and select a DNS record type to perform a DNS lookup."
27
  )
 
18
  iface = gr.Interface(
19
  fn=dns_lookup,
20
  inputs=[
21
+ gr.Textbox(lines=1, placeholder="example.com", label="Domain Name"),
22
+ gr.Dropdown(choices=supported_types, value='A', label="Record Type")
23
  ],
24
+ outputs=gr.Textbox(),
25
  title="DNS Resolver",
26
  description="Enter a domain name and select a DNS record type to perform a DNS lookup."
27
  )