Update app.py
#1
by
tiennguyenbnbk
- opened
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=('
|
|
|
|
| 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')))
|