File size: 373 Bytes
a8e7c75
 
cbb60b6
 
a8e7c75
cbb60b6
f8cae87
cbb60b6
 
a8e7c75
cbb60b6
 
 
 
f8cae87
a8e7c75
d20e712
4c522a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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()