Spaces:
Running
on
A10G
Running
on
A10G
MekkCyber
commited on
Commit
·
886605d
1
Parent(s):
00178b2
update
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def hello(profile: gr.OAuthProfile | None, oauth_token: gr.OAuthToken | None) ->
|
|
| 14 |
# ^ expect a gr.OAuthProfile object as input to get the user's profile
|
| 15 |
# if the user is not logged in, profile will be None
|
| 16 |
if profile is None:
|
| 17 |
-
return "Hello Please Login to HuggingFace to use the BitsAndBytes Quantizer!"
|
| 18 |
return f"Hello {profile.name} ! Welcome to BitsAndBytes Quantizer"
|
| 19 |
|
| 20 |
|
|
@@ -476,7 +476,7 @@ button[variant="primary"]:hover {
|
|
| 476 |
with gr.Blocks(theme=gr.themes.Ocean(), css=css) as demo:
|
| 477 |
gr.Markdown(
|
| 478 |
"""
|
| 479 |
-
# 🤗
|
| 480 |
|
| 481 |
"""
|
| 482 |
)
|
|
|
|
| 14 |
# ^ expect a gr.OAuthProfile object as input to get the user's profile
|
| 15 |
# if the user is not logged in, profile will be None
|
| 16 |
if profile is None:
|
| 17 |
+
return "Hello ! Please Login to your HuggingFace account to use the BitsAndBytes Quantizer!"
|
| 18 |
return f"Hello {profile.name} ! Welcome to BitsAndBytes Quantizer"
|
| 19 |
|
| 20 |
|
|
|
|
| 476 |
with gr.Blocks(theme=gr.themes.Ocean(), css=css) as demo:
|
| 477 |
gr.Markdown(
|
| 478 |
"""
|
| 479 |
+
# 🤗 BitsAndBytes Quantizer : Create your own BNB Quants ! ✨
|
| 480 |
|
| 481 |
"""
|
| 482 |
)
|