|
import streamlit as st |
|
import sys |
|
import os |
|
import pandas as pd |
|
import numpy as np |
|
import matplotlib.pyplot as plt |
|
import seaborn as sns |
|
import plotly.express as px |
|
import plotly.graph_objects as go |
|
|
|
|
|
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) |
|
|
|
|
|
from pricing_system.integrated_app import IntegratedApp |
|
|
|
def main(): |
|
""" |
|
الدالة الرئيسية لتشغيل التطبيق |
|
""" |
|
|
|
st.set_page_config( |
|
page_title="نظام تحليل المناقصات", |
|
page_icon="📊", |
|
layout="wide", |
|
initial_sidebar_state="expanded" |
|
) |
|
|
|
|
|
with open("pricing_system/static/css/unified_style.css") as f: |
|
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True) |
|
|
|
|
|
app = IntegratedApp() |
|
app.run() |
|
|
|
if __name__ == "__main__": |
|
main() |
|
|