Keytaro commited on
Commit
fe16c17
·
1 Parent(s): bc70b81

mod japanese translation

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -22,9 +22,9 @@ scheduler = CommitScheduler(
22
 
23
  term_deposit_predictor = joblib.load('model.joblib')
24
 
25
- age_input = gr.Number(label="Age")
26
- duration_input = gr.Number(label='Duration(Sec)')
27
- cc_contact_freq_input = gr.Number(label='CC Contact Freq')
28
  days_since_pc_input = gr.Number(label='Days Since PC')
29
  pc_contact_freq_input = gr.Number(label='Pc Contact Freq')
30
  job_input = gr.Dropdown(['admin.', 'blue-collar', 'technician', 'services', 'management',
@@ -49,8 +49,8 @@ def predict_term_deposit(age, duration, cc_contact_freq, days_since_pc, pc_conta
49
  day_of_week, pc_outcome):
50
  sample = {
51
  'Age / 顧客の年齢': age,
52
- 'Duration(Sec)': duration,
53
- 'CC Contact Freq': cc_contact_freq,
54
  'Days Since PC': days_since_pc,
55
  'PC Contact Freq': pc_contact_freq,
56
  'Job': job,
 
22
 
23
  term_deposit_predictor = joblib.load('model.joblib')
24
 
25
+ age_input = gr.Number(label="Age / 顧客の年齢")
26
+ duration_input = gr.Number(label='Duration(Sec) / 通話時間(秒)、最後に連絡した時の通話の長さ(秒単位)')
27
+ cc_contact_freq_input = gr.Number(label='CC Contact Freq / クレジットカード接触頻度')
28
  days_since_pc_input = gr.Number(label='Days Since PC')
29
  pc_contact_freq_input = gr.Number(label='Pc Contact Freq')
30
  job_input = gr.Dropdown(['admin.', 'blue-collar', 'technician', 'services', 'management',
 
49
  day_of_week, pc_outcome):
50
  sample = {
51
  'Age / 顧客の年齢': age,
52
+ 'Duration(Sec) / 通話時間(秒)、最後に連絡した時の通話の長さ(秒単位)': duration,
53
+ 'CC Contact Freq / クレジットカード接触頻度': cc_contact_freq,
54
  'Days Since PC': days_since_pc,
55
  'PC Contact Freq': pc_contact_freq,
56
  'Job': job,