Spaces:
Running
Running
Commit
ยท
b8c3aee
1
Parent(s):
0885d67
Upload 12 files
Browse files
app.py
CHANGED
|
@@ -685,9 +685,9 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
| 685 |
# audio_comp_tb.submit(transcribe_dummy, inputs=[audio_comp_tb, whisper_lang_state], outputs=[message])
|
| 686 |
|
| 687 |
gr.Examples(
|
| 688 |
-
examples=["์
๋ ฅ๋ ๋ด์ฉ์ ์์ด๋ก
|
| 689 |
-
"์
๋ ฅํ ์ฝ๊ด ๋ด์ฉ์ ์ ๋จธ๋ฌ์คํ๊ฒ
|
| 690 |
-
"SQL์ฟผ๋ฆฌ๋ฅผ ํ๋ํด
|
| 691 |
"ํ์ด์ฌ์ผ๋ก ์น์คํฌ๋ํ ์ฝ๋๋ฅผ ์์ฑํด ์ฃผ์ธ์" ,
|
| 692 |
"์ด ์ฝ๋์์ ์ค๋ฅ๋ฅผ ์์ ํด ์ฃผ์ธ์",
|
| 693 |
"์ ๋ด์ฉ์ ์ ๋ฆฌํด ์ฃผ์ธ์",
|
|
@@ -695,6 +695,11 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
| 695 |
inputs=message
|
| 696 |
)
|
| 697 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 698 |
with gr.Tab("Settings"):
|
| 699 |
tools_cb_group = gr.CheckboxGroup(label="Tools:", choices=TOOLS_LIST,
|
| 700 |
value=TOOLS_DEFAULT_LIST)
|
|
@@ -859,7 +864,7 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
| 859 |
|
| 860 |
gr.HTML("""
|
| 861 |
<p>OpenAI GPT-3.5์ LangChain์ ์ฌ์ฉํ์ฌ ์ฑํ
ํ์์ผ๋ก ๋ณด์ฌ์ค๋๋ค.</a>
|
| 862 |
-
์ฝ๋ ์์ฑ์ ์์ฒญ, ์ค๋ฅ ์์ , SQLํ๋,
|
| 863 |
<b>KB๊ธ์ต ์ ๋ฌธ๊ฐ๋ก์ ํ๋จ๋๋ Data Import์ Modelling๋ฅผ ์คํ์์ค๋ก ์คํํด ๋ณด์ธ์.</b>
|
| 864 |
</p>""")
|
| 865 |
|
|
|
|
| 685 |
# audio_comp_tb.submit(transcribe_dummy, inputs=[audio_comp_tb, whisper_lang_state], outputs=[message])
|
| 686 |
|
| 687 |
gr.Examples(
|
| 688 |
+
examples=["์
๋ ฅ๋ ๋ด์ฉ์ ์์ด๋ก ๋ฒ์ญํด ์ฃผ์ธ์. ์์ด๋ฏผ์ ํํ์ผ๋ก ๋ฒ์ญํด์ฃผ์ธ์",
|
| 689 |
+
"๋ค์ ์
๋ ฅํ ์ฝ๊ด ๋ด์ฉ์ ์ ๋จธ๋ฌ์คํ๊ฒ ์ค๋ช
ํด ์ฃผ์ธ์",
|
| 690 |
+
"SQL์ฟผ๋ฆฌ๋ฅผ ํ๋ํด ์ฃผ์ธ์",
|
| 691 |
"ํ์ด์ฌ์ผ๋ก ์น์คํฌ๋ํ ์ฝ๋๋ฅผ ์์ฑํด ์ฃผ์ธ์" ,
|
| 692 |
"์ด ์ฝ๋์์ ์ค๋ฅ๋ฅผ ์์ ํด ์ฃผ์ธ์",
|
| 693 |
"์ ๋ด์ฉ์ ์ ๋ฆฌํด ์ฃผ์ธ์",
|
|
|
|
| 695 |
inputs=message
|
| 696 |
)
|
| 697 |
|
| 698 |
+
with gr.Tab("KB PlayGround"):
|
| 699 |
+
trace_chain_cb1 = gr.Checkbox(label="[KB์ํ์๋ด ๊ธ์ง๋จ์ด] ํ์์ GPT ๋ต๋ณ์ ํ", value=False)
|
| 700 |
+
trace_chain_cb2 = gr.Checkbox(label="[KB์ํ๊ด๊ณ ์ฌ์๊ธฐ์ค ํํฐ๋ง] ๋ถ์ ๊ฒฉ ๋จ์ด โ ์ ์ฌ๋จ์ด ๋์์ ์", value=False)
|
| 701 |
+
|
| 702 |
+
|
| 703 |
with gr.Tab("Settings"):
|
| 704 |
tools_cb_group = gr.CheckboxGroup(label="Tools:", choices=TOOLS_LIST,
|
| 705 |
value=TOOLS_DEFAULT_LIST)
|
|
|
|
| 864 |
|
| 865 |
gr.HTML("""
|
| 866 |
<p>OpenAI GPT-3.5์ LangChain์ ์ฌ์ฉํ์ฌ ์ฑํ
ํ์์ผ๋ก ๋ณด์ฌ์ค๋๋ค.</a>
|
| 867 |
+
์ฝ๋ ์์ฑ์ ์์ฒญ, ์ค๋ฅ ์์ , SQLํ๋, ๋ฒ์ญ์ ์์์ผ๋ก
|
| 868 |
<b>KB๊ธ์ต ์ ๋ฌธ๊ฐ๋ก์ ํ๋จ๋๋ Data Import์ Modelling๋ฅผ ์คํ์์ค๋ก ์คํํด ๋ณด์ธ์.</b>
|
| 869 |
</p>""")
|
| 870 |
|