Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=[
|
| 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 |
|