Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ with gr.Blocks(theme=gr.themes.Soft(font=[gr.themes.GoogleFont("Ubuntu"), "Arial
|
|
| 146 |
""")
|
| 147 |
# Add a button to pull the latest schema and save it to schema.json
|
| 148 |
fetch_schema_button = gr.Button("Fetch Latest Schema", elem_id='ydcoza_gradio_button')
|
| 149 |
-
|
| 150 |
fetch_schema_button.click(update_schema)
|
| 151 |
|
| 152 |
# Setup the button click to trigger the process and show results
|
|
|
|
| 146 |
""")
|
| 147 |
# Add a button to pull the latest schema and save it to schema.json
|
| 148 |
fetch_schema_button = gr.Button("Fetch Latest Schema", elem_id='ydcoza_gradio_button')
|
| 149 |
+
fetch_schema_button.click(update_schema, outputs=[gr.Textbox(label="Schema Update Status")])
|
| 150 |
fetch_schema_button.click(update_schema)
|
| 151 |
|
| 152 |
# Setup the button click to trigger the process and show results
|