Spaces:
Sleeping
Sleeping
AnjaliRai78
commited on
Commit
•
d4b3c47
1
Parent(s):
b1e958e
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,65 @@ import ast
|
|
8 |
|
9 |
load_dotenv()
|
10 |
API_URL = os.getenv("API_URL")
|
11 |
-
choices =
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
def check_active_users():
|
15 |
response = requests.get(f"{API_URL}/status")
|
|
|
8 |
|
9 |
load_dotenv()
|
10 |
API_URL = os.getenv("API_URL")
|
11 |
+
choices = [
|
12 |
+
"AI/ML",
|
13 |
+
"Medical",
|
14 |
+
"Legal",
|
15 |
+
"Technology",
|
16 |
+
"Engineering",
|
17 |
+
"Finance",
|
18 |
+
"Education",
|
19 |
+
"Arts",
|
20 |
+
"Marketing",
|
21 |
+
"Human Resources",
|
22 |
+
"Sales",
|
23 |
+
"Manufacturing",
|
24 |
+
"Construction",
|
25 |
+
"Healthcare",
|
26 |
+
"Environmental Science",
|
27 |
+
"Data Science",
|
28 |
+
"Social Sciences",
|
29 |
+
"Psychology",
|
30 |
+
"Philosophy",
|
31 |
+
"Literature",
|
32 |
+
"History",
|
33 |
+
"Political Science",
|
34 |
+
"Economics",
|
35 |
+
"Journalism",
|
36 |
+
"Entertainment",
|
37 |
+
"Music",
|
38 |
+
"Sports",
|
39 |
+
"Culinary",
|
40 |
+
"Tourism",
|
41 |
+
"Logistics",
|
42 |
+
"Real Estate",
|
43 |
+
"Architecture",
|
44 |
+
"Agriculture",
|
45 |
+
"Biotechnology",
|
46 |
+
"Chemistry",
|
47 |
+
"Physics",
|
48 |
+
"Mathematics",
|
49 |
+
"Astronomy",
|
50 |
+
"Geology",
|
51 |
+
"Oceanography",
|
52 |
+
"Anthropology",
|
53 |
+
"Sociology",
|
54 |
+
"Linguistics",
|
55 |
+
"Religion",
|
56 |
+
"Public Administration",
|
57 |
+
"Non-profit",
|
58 |
+
"Veterinary Science",
|
59 |
+
"Library Science",
|
60 |
+
"Cybersecurity",
|
61 |
+
"Game Development",
|
62 |
+
"Robotics",
|
63 |
+
"Nanotechnology",
|
64 |
+
"Genomics",
|
65 |
+
"Telecommunications",
|
66 |
+
"Automotive",
|
67 |
+
"Energy",
|
68 |
+
"Fashion"
|
69 |
+
]
|
70 |
|
71 |
def check_active_users():
|
72 |
response = requests.get(f"{API_URL}/status")
|