rama64palle commited on
Commit
c1d2e02
·
verified ·
1 Parent(s): ad4c04d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -1,4 +1,4 @@
1
- ]import streamlit as st
2
  import pandas as pd
3
  from huggingface_hub import hf_hub_download
4
  import joblib
@@ -44,7 +44,7 @@ def format_label_Designation(code):
44
  return ENCODING_MAP_Designation[code]
45
 
46
  def format_label_ProductPitched(code):
47
- return ENCODING_MAP_ProductPitched
48
 
49
  def format_label_Passport(code):
50
  return ENCODING_MAP_Passport[code]
@@ -97,9 +97,7 @@ input_data = pd.DataFrame([{'Age': Age,
97
  'MonthlyIncome': MonthlyIncome,
98
  'DurationOfPitch': DurationOfPitch,
99
  'ProductPitched': ProductPitched,
100
- 'Designation': Designation,
101
-
102
-
103
  }])
104
 
105
 
 
1
+ import streamlit as st
2
  import pandas as pd
3
  from huggingface_hub import hf_hub_download
4
  import joblib
 
44
  return ENCODING_MAP_Designation[code]
45
 
46
  def format_label_ProductPitched(code):
47
+ return ENCODING_MAP_ProductPitched[code]
48
 
49
  def format_label_Passport(code):
50
  return ENCODING_MAP_Passport[code]
 
97
  'MonthlyIncome': MonthlyIncome,
98
  'DurationOfPitch': DurationOfPitch,
99
  'ProductPitched': ProductPitched,
100
+ 'Designation': Designation
 
 
101
  }])
102
 
103