Update app.py
Browse files
app.py
CHANGED
@@ -48,11 +48,11 @@ def websiteStatus(websiteUrl, user_agent_choice):
|
|
48 |
# Create a Gradio interface
|
49 |
app = gr.Interface(
|
50 |
fn=websiteStatus,
|
51 |
-
inputs=[
|
52 |
gr.Textbox(label="Enter URL", placeholder="https://google.com", type="text"),
|
53 |
gr.Radio(["Your Browser Headers", "Our Server Headers"], label="Select User Agent")
|
54 |
],
|
55 |
-
outputs=[
|
56 |
gr.Textbox(label="Code", type="text"),
|
57 |
gr.Textbox(label="Server/Website Status", type="text"),
|
58 |
gr.Textbox(label="Code Status", type="text"),
|
|
|
48 |
# Create a Gradio interface
|
49 |
app = gr.Interface(
|
50 |
fn=websiteStatus,
|
51 |
+
inputs = [
|
52 |
gr.Textbox(label="Enter URL", placeholder="https://google.com", type="text"),
|
53 |
gr.Radio(["Your Browser Headers", "Our Server Headers"], label="Select User Agent")
|
54 |
],
|
55 |
+
outputs = [
|
56 |
gr.Textbox(label="Code", type="text"),
|
57 |
gr.Textbox(label="Server/Website Status", type="text"),
|
58 |
gr.Textbox(label="Code Status", type="text"),
|