Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| def check_gradio(): | |
| return "Gradio is installed!" | |
| # Create a simple interface to test Gradio | |
| with gr.Blocks() as demo: | |
| gr.Markdown("### Gradio Installation Check") | |
| output_text = gr.Textbox() | |
| check_button = gr.Button("Check Gradio") | |
| check_button.click(check_gradio, outputs=output_text) | |
| # Launch Gradio interface | |
| demo.launch() | |