replacing textbox with a JSON component

#1
by ysharma HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ with gr.Blocks() as demo:
56
  scrape_button = gr.Button("Scrape and Summarize")
57
 
58
  with gr.Column():
59
- result_output = gr.Textbox(label="Result")
60
  exec_info_output = gr.Textbox(label="Execution Info")
61
 
62
  scrape_button.click(
 
56
  scrape_button = gr.Button("Scrape and Summarize")
57
 
58
  with gr.Column():
59
+ result_output = gr.JSON(label="Result")
60
  exec_info_output = gr.Textbox(label="Execution Info")
61
 
62
  scrape_button.click(