Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mohab-sameh committed Jun 18, 2021
1 parent 86440db commit ff67957
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Implementation/app-files/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def read_data():
#Reading uploading dataset csv file here
Dataframe.df = pd.read_csv(uploaded_file)

#st.table(Dataframe.df.dtypes)

#Replace NaN/Infinite values with 0
Dataframe.df = Dataframe.df.fillna(0)
Expand Down Expand Up @@ -643,4 +644,4 @@ def get_live_packet_prediction():
st.sidebar.subheader("Metrics Reports")
metrics_reports_btn = st.sidebar.button("Show Metrics Reports")
if metrics_reports_btn:
show_metrics_reports()
show_metrics_reports()

0 comments on commit ff67957

Please sign in to comment.