salomonsky commited on
Commit
f06358f
·
verified ·
1 Parent(s): fbb547a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,6 +6,8 @@ from huggingface_hub import AsyncInferenceClient
6
  import streamlit_authenticator as stauth
7
  import asyncio
8
 
 
 
9
  credentials = {
10
  "usernames": {
11
  "admin": {
@@ -51,7 +53,6 @@ def get_storage():
51
  return [str(file.resolve()) for file in files], f"Uso total: {usage/(1024.0 ** 3):.3f}GB"
52
 
53
  async def main():
54
- st.set_page_config(layout="wide")
55
  name, authentication_status, username = authenticator.login("Login", "main")
56
  if authentication_status:
57
  st.success(f"Bienvenido {name}")
 
6
  import streamlit_authenticator as stauth
7
  import asyncio
8
 
9
+ st.set_page_config(layout="wide")
10
+
11
  credentials = {
12
  "usernames": {
13
  "admin": {
 
53
  return [str(file.resolve()) for file in files], f"Uso total: {usage/(1024.0 ** 3):.3f}GB"
54
 
55
  async def main():
 
56
  name, authentication_status, username = authenticator.login("Login", "main")
57
  if authentication_status:
58
  st.success(f"Bienvenido {name}")