Ivan Kudryakov commited on
Commit
3a10348
·
1 Parent(s): 803e597
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -12,17 +12,19 @@ access_token = '24001214633baa923e4caf1fba8da62847aa8df94b3b041d40b54186eabd6a16
12
 
13
 
14
  api_version = '5.131'
15
- my_id = '167196653'
16
  read_id = st.text_input("Type interested vk id or write \"0\" to use default: ")
17
- if read_id != '0':
18
- my_id = read_id
19
- st.write("my_id changed", my_id)
 
 
20
  friend_num_text = st.text_input("Type how many friends you want to show or write \"0\" show all: ")
21
  friend_num = 0
22
  try:
23
- friend_num_c = int(friend_num_text)
24
  except:
25
- friend_num_c = 15
26
 
27
  st.write("wait about a minute we could do only 3 request per second")
28
 
 
12
 
13
 
14
  api_version = '5.131'
15
+ my_id = 167196653
16
  read_id = st.text_input("Type interested vk id or write \"0\" to use default: ")
17
+ try:
18
+ my_id = int(read_id)
19
+ except:
20
+ my_id = my_id
21
+ st.write("Used ivan kudryakov id")
22
  friend_num_text = st.text_input("Type how many friends you want to show or write \"0\" show all: ")
23
  friend_num = 0
24
  try:
25
+ friend_num = int(friend_num_text)
26
  except:
27
+ friend_num = 15
28
 
29
  st.write("wait about a minute we could do only 3 request per second")
30