replacing textbox with a JSON component
#1
by
ysharma
HF Staff
- opened
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.
|
| 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(
|