EGYADMIN commited on
Commit
f7d2bb1
·
verified ·
1 Parent(s): 68fc911

Update modules/document_analysis/document_app.py

Browse files
modules/document_analysis/document_app.py CHANGED
@@ -406,18 +406,18 @@ class DataAnalysisApp:
406
  }
407
  )
408
 
409
- # إضافة خط الميزانية = التكلفة
410
- max_value = max(tenders_df["الميزانية (ريال)"].max(), tenders_df["التكلفة (ريال)"].max())
411
- fig.add_trace(
412
- go.Scatter(
413
- x=[0, max_value],
414
- y=[0, max_value],
415
- mode="lines",
416
- line=dict(color="gray", dash="dash"),
417
- name="الميزانية = التكلفة"
418
- )
419
- )
420
- st.plotly_chart(fig, use_container_width=True)
421
 
422
  DocumentAnalysisApp = DataAnalysisApp
423
 
 
406
  }
407
  )
408
 
409
+ # إضافة خط الميزانية = التكلفة
410
+ max_value = max(tenders_df["الميزانية (ريال)"].max(), tenders_df["التكلفة (ريال)"].max())
411
+ fig.add_trace(
412
+ go.Scatter(
413
+ x=[0, max_value],
414
+ y=[0, max_value],
415
+ mode="lines",
416
+ line=dict(color="gray", dash="dash"),
417
+ name="الميزانية = التكلفة"
418
+ )
419
+ )
420
+ st.plotly_chart(fig, use_container_width=True)
421
 
422
  DocumentAnalysisApp = DataAnalysisApp
423