Commit Β·
bd92c2f
1
Parent(s): e9b30e4
Update app.py
Browse files
app.py
CHANGED
|
@@ -471,6 +471,8 @@ def run_captioning(*inputs):
|
|
| 471 |
yield final_captions
|
| 472 |
|
| 473 |
def check_token(token: gr.OAuthToken | None):
|
|
|
|
|
|
|
| 474 |
try:
|
| 475 |
api = HfApi(token=token)
|
| 476 |
user_data = api.whoami()
|
|
|
|
| 471 |
yield final_captions
|
| 472 |
|
| 473 |
def check_token(token: gr.OAuthToken | None):
|
| 474 |
+
print("Le Token")
|
| 475 |
+
print(token)
|
| 476 |
try:
|
| 477 |
api = HfApi(token=token)
|
| 478 |
user_data = api.whoami()
|