fdaudens HF staff ysharma HF staff commited on
Commit
745dbea
β€’
1 Parent(s): d7c693f

replacing textbox with a JSON component (#1)

Browse files

- replacing textbox with a JSON component (750107f1fd702651b4c00da0627f4577b83c4e0d)


Co-authored-by: yuvraj sharma <ysharma@users.noreply.huggingface.co>

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(