EricGEGE commited on
Commit
731e9e3
·
verified ·
1 Parent(s): b94c4f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -15,6 +15,9 @@ from sentence_transformers import SentenceTransformer
15
  # Load environment variables from .env file
16
  load_dotenv()
17
 
 
 
 
18
  # Configure logging
19
  logging.basicConfig(level=logging.INFO)
20
  logger = logging.getLogger(__name__)
@@ -185,7 +188,7 @@ def main():
185
  )
186
 
187
  # Launch the interface
188
- iface.launch(share=False,auth=('cev','88888888'))
189
 
190
  except Exception as e:
191
  logger.error(f"Failed to initialize chatbot: {e}")
 
15
  # Load environment variables from .env file
16
  load_dotenv()
17
 
18
+ log = 'cevauto'
19
+ password = os.getenv('PASSWORD')
20
+
21
  # Configure logging
22
  logging.basicConfig(level=logging.INFO)
23
  logger = logging.getLogger(__name__)
 
188
  )
189
 
190
  # Launch the interface
191
+ iface.launch(share=False,auth=(log, password))
192
 
193
  except Exception as e:
194
  logger.error(f"Failed to initialize chatbot: {e}")