tiennguyenbnbk commited on
Commit
e2bd9e1
1 Parent(s): 51303b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  from textwrap import dedent
3
 
 
4
  from chains import setup_chain_v2
5
 
6
  chain = setup_chain_v2()
@@ -118,4 +119,4 @@ with gr.Blocks() as demo:
118
  greet_btn.click(gen, inputs=[*attitude_components, *knowleadge_components, *skill_components, *interaction_components], outputs=[attitude_output, knowleadge_output, skill_output, interaction_output])
119
 
120
  if __name__ == "__main__":
121
- demo.launch(auth=('admin', 'vuihoc.vn'))
 
1
  import gradio as gr
2
  from textwrap import dedent
3
 
4
+
5
  from chains import setup_chain_v2
6
 
7
  chain = setup_chain_v2()
 
119
  greet_btn.click(gen, inputs=[*attitude_components, *knowleadge_components, *skill_components, *interaction_components], outputs=[attitude_output, knowleadge_output, skill_output, interaction_output])
120
 
121
  if __name__ == "__main__":
122
+ demo.launch(auth=(os.getenv('username'), os.getenv('password')))