Spaces:
Running
Running
tripleS-Dev
commited on
Commit
•
35a90d3
1
Parent(s):
b4bd10a
update V1.1.2L Beta
Browse files-Remove Test's 일부 permission
- .gitattributes +1 -0
- login_discord.py +3 -1
.gitattributes
CHANGED
@@ -203,3 +203,4 @@ grad2/gradient_987.png filter=lfs diff=lfs merge=lfs -text
|
|
203 |
grad2/gradient_992.png filter=lfs diff=lfs merge=lfs -text
|
204 |
grad2/gradient_993.png filter=lfs diff=lfs merge=lfs -text
|
205 |
resource/oma_back.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
203 |
grad2/gradient_992.png filter=lfs diff=lfs merge=lfs -text
|
204 |
grad2/gradient_993.png filter=lfs diff=lfs merge=lfs -text
|
205 |
resource/oma_back.png filter=lfs diff=lfs merge=lfs -text
|
206 |
+
resource/oma_back.png filter=lfs diff=lfs merge=lfs -text
|
login_discord.py
CHANGED
@@ -13,8 +13,10 @@ def id_check(request: gr.Request):
|
|
13 |
user_id, username, avatar_url = get_discord_user_profile(str(code[1]))
|
14 |
if user_id == None:
|
15 |
return "Login to Discord", gr.Tab(visible=False)
|
16 |
-
if user_id == "412827396027187211"
|
17 |
return gr.Button(value=username, icon=avatar_url, link=redirect_uri), gr.Tab(visible=True), gr.Radio(["Atom01", "Binary01", "Cream01", "Divine01", "Special", "OMA", "Other color", "AI Color"], label="Objekt Color", value="Divine01")
|
|
|
|
|
18 |
print(user_id)
|
19 |
return gr.Button(value=username, icon=avatar_url, link=redirect_uri), gr.Tab(visible=False), gr.Radio(["Atom01", "Binary01", "Cream01", "Divine01", "Special", "Other color", "AI Color"], label="Objekt Color", value="Cream01")
|
20 |
#1
|
|
|
13 |
user_id, username, avatar_url = get_discord_user_profile(str(code[1]))
|
14 |
if user_id == None:
|
15 |
return "Login to Discord", gr.Tab(visible=False)
|
16 |
+
if user_id == "412827396027187211":
|
17 |
return gr.Button(value=username, icon=avatar_url, link=redirect_uri), gr.Tab(visible=True), gr.Radio(["Atom01", "Binary01", "Cream01", "Divine01", "Special", "OMA", "Other color", "AI Color"], label="Objekt Color", value="Divine01")
|
18 |
+
if user_id == "676049087300239369":
|
19 |
+
return gr.Button(value=username, icon=avatar_url, link=redirect_uri), gr.Tab(visible=False), gr.Radio(["Atom01", "Binary01", "Cream01", "Divine01", "Special", "OMA", "Other color", "AI Color"],label="Objekt Color", value="Divine01")
|
20 |
print(user_id)
|
21 |
return gr.Button(value=username, icon=avatar_url, link=redirect_uri), gr.Tab(visible=False), gr.Radio(["Atom01", "Binary01", "Cream01", "Divine01", "Special", "Other color", "AI Color"], label="Objekt Color", value="Cream01")
|
22 |
#1
|