Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,52 +2,52 @@ from mastodon import Mastodon # Mastodon.py
|
|
| 2 |
|
| 3 |
list_of_servers = [
|
| 4 |
"mastodon.social",
|
| 5 |
-
"peoplemaking.games"
|
| 6 |
-
"maly.io"
|
| 7 |
-
"ani.work"
|
| 8 |
-
"libretooth.gr"
|
| 9 |
-
"tilde.zone"
|
| 10 |
-
"pettingzoo.co"
|
| 11 |
-
"phpc.social"
|
| 12 |
-
"hostux.social"
|
| 13 |
-
"activism.openworlds.info"
|
| 14 |
-
"metalhead.club"
|
| 15 |
-
"x0r.be"
|
| 16 |
-
"mathstodon.xyz"
|
| 17 |
-
"indieweb.social"
|
| 18 |
-
"social.linux.pizza"
|
| 19 |
-
"lor.sh"
|
| 20 |
-
"nerdculture.de"
|
| 21 |
-
"toot.wales"
|
| 22 |
-
"kolektiva.social"
|
| 23 |
-
"mastodon.pirateparty.be"
|
| 24 |
-
"socel.net"
|
| 25 |
-
"mastodon.nz"
|
| 26 |
-
"toot.funami.tech"
|
| 27 |
-
"noc.social"
|
| 28 |
-
"seo.chat"
|
| 29 |
-
"ioc.exchange"
|
| 30 |
-
"qoto.org"
|
| 31 |
-
"glasgow.social"
|
| 32 |
-
"primarycare.app"
|
| 33 |
-
"mindly.social"
|
| 34 |
-
"mstdn.party"
|
| 35 |
-
"universeodon.com"
|
| 36 |
-
"learningdisability.social"
|
| 37 |
-
"ravenation.club"
|
| 38 |
-
"home.social"
|
| 39 |
-
"mastodon.ie"
|
| 40 |
-
"techhub.social"
|
| 41 |
-
"mastodon.scot"
|
| 42 |
-
"sfba.social"
|
| 43 |
-
"mastodon.sdf.org"
|
| 44 |
-
"fosstodon.org"
|
| 45 |
-
"mastodon.lol"
|
| 46 |
-
"mastodonapp.uk"
|
| 47 |
-
"mstdn.social"
|
| 48 |
-
"mas.to"
|
| 49 |
-
"newsie.social"
|
| 50 |
-
"social.bau-ha.us"
|
| 51 |
"infosec.exchange"]
|
| 52 |
|
| 53 |
# A HTML blob of text used to define the 'login in with' button
|
|
@@ -400,7 +400,7 @@ with block:
|
|
| 400 |
value=auth_button_text.format(
|
| 401 |
get_target_website())).style(
|
| 402 |
)
|
| 403 |
-
gr.Dropdown(choices=list_of_servers)
|
| 404 |
with gr.Row().style(equal_height=True):
|
| 405 |
radio = gr.CheckboxGroup(value=["Violent", "Hate Speech"],
|
| 406 |
choices=["Violent", "Hate Speech", "Misinformation"],
|
|
|
|
| 2 |
|
| 3 |
list_of_servers = [
|
| 4 |
"mastodon.social",
|
| 5 |
+
"peoplemaking.games",
|
| 6 |
+
"maly.io",
|
| 7 |
+
"ani.work",
|
| 8 |
+
"libretooth.gr",
|
| 9 |
+
"tilde.zone",
|
| 10 |
+
"pettingzoo.co",
|
| 11 |
+
"phpc.social",
|
| 12 |
+
"hostux.social",
|
| 13 |
+
"activism.openworlds.info",
|
| 14 |
+
"metalhead.club",
|
| 15 |
+
"x0r.be",
|
| 16 |
+
"mathstodon.xyz",
|
| 17 |
+
"indieweb.social",
|
| 18 |
+
"social.linux.pizza",
|
| 19 |
+
"lor.sh",
|
| 20 |
+
"nerdculture.de",
|
| 21 |
+
"toot.wales",
|
| 22 |
+
"kolektiva.social",
|
| 23 |
+
"mastodon.pirateparty.be",
|
| 24 |
+
"socel.net",
|
| 25 |
+
"mastodon.nz",
|
| 26 |
+
"toot.funami.tech",
|
| 27 |
+
"noc.social",
|
| 28 |
+
"seo.chat",
|
| 29 |
+
"ioc.exchange",
|
| 30 |
+
"qoto.org",
|
| 31 |
+
"glasgow.social",
|
| 32 |
+
"primarycare.app",
|
| 33 |
+
"mindly.social",
|
| 34 |
+
"mstdn.party",
|
| 35 |
+
"universeodon.com",
|
| 36 |
+
"learningdisability.social",
|
| 37 |
+
"ravenation.club",
|
| 38 |
+
"home.social",
|
| 39 |
+
"mastodon.ie",
|
| 40 |
+
"techhub.social",
|
| 41 |
+
"mastodon.scot",
|
| 42 |
+
"sfba.social",
|
| 43 |
+
"mastodon.sdf.org",
|
| 44 |
+
"fosstodon.org",
|
| 45 |
+
"mastodon.lol",
|
| 46 |
+
"mastodonapp.uk",
|
| 47 |
+
"mstdn.social",
|
| 48 |
+
"mas.to",
|
| 49 |
+
"newsie.social",
|
| 50 |
+
"social.bau-ha.us",
|
| 51 |
"infosec.exchange"]
|
| 52 |
|
| 53 |
# A HTML blob of text used to define the 'login in with' button
|
|
|
|
| 400 |
value=auth_button_text.format(
|
| 401 |
get_target_website())).style(
|
| 402 |
)
|
| 403 |
+
gr.Dropdown(choices=list_of_servers, label="Server")
|
| 404 |
with gr.Row().style(equal_height=True):
|
| 405 |
radio = gr.CheckboxGroup(value=["Violent", "Hate Speech"],
|
| 406 |
choices=["Violent", "Hate Speech", "Misinformation"],
|