File size: 536 Bytes
464a2c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1807dc6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gradio as gr
import matplotlib
matplotlib.use('Agg')  # Set Agg backend to avoid Qt issues
import matplotlib.pyplot as plt
from polynomial import polynomial_tab
from linear import linear_tab
from image import image_tab

with gr.Blocks(title="Polynomial and Linear System Solver") as demo:
    # Create all tabs
    poly_components = polynomial_tab()
    linear_components = linear_tab()
    image_components = image_tab()

if __name__ == "__main__":
    demo.launch()  # Removed server_port=7860 to allow automatic port selection