Spaces:
Runtime error
Runtime error
lizhen
commited on
Commit
·
ea14efe
1
Parent(s):
d02575f
完成快速入门。
Browse files
README.md
CHANGED
@@ -10,4 +10,10 @@ pinned: false
|
|
10 |
license: openrail
|
11 |
---
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
10 |
license: openrail
|
11 |
---
|
12 |
|
13 |
+
|
14 |
+
| 日期 | 进度 | 备注 |
|
15 |
+
| :--: | :--- | :--: |
|
16 |
+
| 2023/04/14 | 接入openAI,简单测试。| |
|
17 |
+
| 2023/04/15 | 熟悉LangChain API。<br> 熟悉Chain的概念。 <br> 熟悉agent goole search。<br> 熟悉Prompt Template。| |
|
18 |
+
|
19 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -7,12 +7,5 @@ def chatOpenAI(input):
|
|
7 |
|
8 |
with gr.Blocks() as demo:
|
9 |
gr.Markdown("# LangChain Test,LLM跑步上车。")
|
10 |
-
gr.Markdown(
|
11 |
-
'''
|
12 |
-
| 日期 | 进度 | 备注 |
|
13 |
-
| :--: | :--- | :--: |
|
14 |
-
| 2023/04/14 | 接入openAI,简单测试。| |
|
15 |
-
| 2023/04/15 | 熟悉LangChain API。<br> 熟悉Chain的概念。 <br> 熟悉agent goole search。<br> 熟悉Prompt Template。| |
|
16 |
-
''')
|
17 |
gr.Interface(fn=chatOpenAI, inputs="text", outputs="text")
|
18 |
demo.launch()
|
|
|
7 |
|
8 |
with gr.Blocks() as demo:
|
9 |
gr.Markdown("# LangChain Test,LLM跑步上车。")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
gr.Interface(fn=chatOpenAI, inputs="text", outputs="text")
|
11 |
demo.launch()
|