merve HF staff commited on
Commit
5e1b529
1 Parent(s): a87f3d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -39,58 +39,58 @@ def get_json(mahalle, il, sokak, apartman):
39
 
40
 
41
  def text_dict_il(input):
42
- eval_result = ast.literal_eval(input)["il"]
43
 
44
  return eval_result
45
 
46
 
47
  def text_dict_mahalle(input):
48
- eval_result = ast.literal_eval(input)["mahalle"]
49
 
50
  return eval_result
51
 
52
 
53
  def text_dict_ilce(input):
54
- eval_result = ast.literal_eval(input)["ilçe"]
55
 
56
  return eval_result
57
 
58
 
59
  def text_dict_sokak(input):
60
- eval_result = ast.literal_eval(input)["sokak"]
61
 
62
  return eval_result
63
 
64
 
65
  def text_dict_no(input):
66
- eval_result = ast.literal_eval(input)["no"]
67
 
68
  return eval_result
69
 
70
 
71
  def text_dict_tel(input):
72
- eval_result = ast.literal_eval(input)["tel"]
73
 
74
  return eval_result
75
 
76
 
77
  def text_dict_isim(input):
78
- eval_result = ast.literal_eval(input)["isim_soyisim"]
79
  return eval_result
80
 
81
 
82
  def text_dict_adres(input):
83
- eval_result = ast.literal_eval(input)["adres"]
84
 
85
  return eval_result
86
 
87
  def text_dict_ickapi(input):
88
- eval_result = ast.literal_eval(input)["ickapi_no"]
89
 
90
  return eval_result
91
 
92
  def text_dict_diskapi(input):
93
- eval_result = ast.literal_eval(input)["diskapi_no"]
94
 
95
  return eval_result
96
 
 
39
 
40
 
41
  def text_dict_il(input):
42
+ eval_result = str(ast.literal_eval(input)["il"])
43
 
44
  return eval_result
45
 
46
 
47
  def text_dict_mahalle(input):
48
+ eval_result = str(ast.literal_eval(input)["mahalle"])
49
 
50
  return eval_result
51
 
52
 
53
  def text_dict_ilce(input):
54
+ eval_result = str(ast.literal_eval(input)["ilçe"])
55
 
56
  return eval_result
57
 
58
 
59
  def text_dict_sokak(input):
60
+ eval_result = str(ast.literal_eval(input)["sokak"])
61
 
62
  return eval_result
63
 
64
 
65
  def text_dict_no(input):
66
+ eval_result = str(ast.literal_eval(input)["no"])
67
 
68
  return eval_result
69
 
70
 
71
  def text_dict_tel(input):
72
+ eval_result = str(ast.literal_eval(input)["tel"])
73
 
74
  return eval_result
75
 
76
 
77
  def text_dict_isim(input):
78
+ eval_result = str(ast.literal_eval(input)["isim_soyisim"])
79
  return eval_result
80
 
81
 
82
  def text_dict_adres(input):
83
+ eval_result = str(ast.literal_eval(input)["adres"])
84
 
85
  return eval_result
86
 
87
  def text_dict_ickapi(input):
88
+ eval_result = str(ast.literal_eval(input)["ickapi_no"])
89
 
90
  return eval_result
91
 
92
  def text_dict_diskapi(input):
93
+ eval_result = str(ast.literal_eval(input)["diskapi_no"])
94
 
95
  return eval_result
96