portfolio / test_gradio.py
jetpackjules's picture
Downgrade to Gradio 4.44.0 to fix compatibility issues
b8139c4
raw
history blame contribute delete
520 Bytes
#!/usr/bin/env python3
"""
Minimal test to isolate Gradio issue
"""
import gradio as gr
def create_minimal_dashboard():
"""Create minimal dashboard to test Gradio compatibility"""
with gr.Blocks(title="Test Dashboard") as demo:
gr.Markdown("# Test Dashboard")
with gr.Row():
test_box = gr.Textbox(label="Test", interactive=False)
demo.queue()
return demo
if __name__ == "__main__":
demo = create_minimal_dashboard()
demo.launch()