fdaudens HF staff commited on
Commit
d55bd37
·
1 Parent(s): 4e29edc

result output

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,8 +60,8 @@ with gr.Blocks() as demo:
60
  source_input = gr.Textbox(label="Source URL", value="https://www.whitehouse.gov/")
61
  scrape_button = gr.Button("Scrape and Summarize")
62
 
63
- with gr.Column():
64
- result_output = gr.Textbox(label="Result")
65
  exec_info_output = gr.Textbox(label="Execution Info")
66
 
67
  scrape_button.click(
 
60
  source_input = gr.Textbox(label="Source URL", value="https://www.whitehouse.gov/")
61
  scrape_button = gr.Button("Scrape and Summarize")
62
 
63
+ with gr.Column():
64
+ result_output = gr.JSON(label="Result")
65
  exec_info_output = gr.Textbox(label="Execution Info")
66
 
67
  scrape_button.click(