Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def investigate(target_name, affiliations, progress=gr.Progress()):
|
|
18 |
|
19 |
|
20 |
def clear_inputs():
|
21 |
-
return "", ""
|
22 |
|
23 |
with gr.Blocks() as view:
|
24 |
gr.Markdown("# OSINT Investigator")
|
@@ -35,7 +35,7 @@ with gr.Blocks() as view:
|
|
35 |
|
36 |
|
37 |
with gr.Row():
|
38 |
-
output = gr.Markdown(
|
39 |
|
40 |
submit_btn.click(
|
41 |
fn=investigate,
|
@@ -46,7 +46,7 @@ with gr.Blocks() as view:
|
|
46 |
clear_btn.click(
|
47 |
fn=clear_inputs,
|
48 |
inputs=[],
|
49 |
-
outputs=[name_input, affiliation_input]
|
50 |
)
|
51 |
gr.Examples(
|
52 |
examples=[["Raz Nissim", "Ben Gurion University, General Motors"],
|
|
|
18 |
|
19 |
|
20 |
def clear_inputs():
|
21 |
+
return "", "", ""
|
22 |
|
23 |
with gr.Blocks() as view:
|
24 |
gr.Markdown("# OSINT Investigator")
|
|
|
35 |
|
36 |
|
37 |
with gr.Row():
|
38 |
+
output = gr.Markdown(container=True, show_copy_button=True, min_height=100)
|
39 |
|
40 |
submit_btn.click(
|
41 |
fn=investigate,
|
|
|
46 |
clear_btn.click(
|
47 |
fn=clear_inputs,
|
48 |
inputs=[],
|
49 |
+
outputs=[name_input, affiliation_input, output]
|
50 |
)
|
51 |
gr.Examples(
|
52 |
examples=[["Raz Nissim", "Ben Gurion University, General Motors"],
|