Wahbi-AI / app.py
EGYADMIN's picture
Upload 15 files
4500ed3 verified
raw
history blame
1.1 kB
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()