SuccessfulCrab commited on
Commit
b71c262
·
verified ·
1 Parent(s): 5583093

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -50,8 +50,8 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
50
 
51
  with gr.Row():
52
  with gr.Column(scale=1, min_width=300):
53
- input_image = gr.Image(label="Upload a suspicious screenshot (email, text message, advertisement etc)", type="pil")
54
- input_text = gr.Textbox(label="Description", info="Please describe your concerns regarditng the situation",lines=3,value="On Monday the 5th of April...")
55
  input_url = gr.Textbox(label="URLs", info="Please enter any suspicious URLs assosiated with the situation",lines=3,value="www.biz.xyz, www.freemasons.io, ...")
56
  btn = gr.Button("Process submission")
57
 
@@ -63,7 +63,7 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
63
  # Output button
64
  btn.click(
65
  fn=get_answer,
66
- inputs=[input_image, input_text, input_url],
67
  outputs=[t3]
68
  )
69
 
 
50
 
51
  with gr.Row():
52
  with gr.Column(scale=1, min_width=300):
53
+ #input_image = gr.Image(label="Upload a suspicious screenshot (email, text message, advertisement etc)", type="pil")
54
+ #input_text = gr.Textbox(label="Description", info="Please describe your concerns regarditng the situation",lines=3,value="On Monday the 5th of April...")
55
  input_url = gr.Textbox(label="URLs", info="Please enter any suspicious URLs assosiated with the situation",lines=3,value="www.biz.xyz, www.freemasons.io, ...")
56
  btn = gr.Button("Process submission")
57
 
 
63
  # Output button
64
  btn.click(
65
  fn=get_answer,
66
+ inputs=[input_url],
67
  outputs=[t3]
68
  )
69