dixiyao commited on
Commit
ed3d582
1 Parent(s): 14da8a1
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -22,4 +22,4 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
22
  msg.submit(respond, [msg, chatbot], [msg, chatbot])
23
 
24
  if __name__ == "__main__":
25
- demo.launch()
 
22
  msg.submit(respond, [msg, chatbot], [msg, chatbot])
23
 
24
  if __name__ == "__main__":
25
+ gr.Interface(demo).launch(auth=(os.environ.get("USERNAME"), os.environ.get("PASSWORD")))
requirements.txt CHANGED
@@ -1,6 +1,7 @@
1
  huggingface_hub
2
  torch
3
  langchain-huggingface
 
4
  xformers
5
  peft
6
  accelerate
 
1
  huggingface_hub
2
  torch
3
  langchain-huggingface
4
+ bitsandbytes
5
  xformers
6
  peft
7
  accelerate