lizhen commited on
Commit
ea14efe
·
1 Parent(s): d02575f

完成快速入门。

Browse files
Files changed (2) hide show
  1. README.md +6 -0
  2. app.py +0 -7
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 | &nbsp;&nbsp;熟悉LangChain API。<br> &nbsp;&nbsp;熟悉Chain的概念。 <br> &nbsp;&nbsp;熟悉agent goole search。<br> &nbsp;&nbsp;熟悉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
- | 日期 | &nbsp;&nbsp;进度 | 备注 |
13
- | :--: | :--- | :--: |
14
- | &nbsp;&nbsp;2023/04/14&nbsp;&nbsp; | &nbsp;&nbsp;接入openAI,简单测试。| |
15
- | 2023/04/15 | &nbsp;&nbsp;熟悉LangChain API。<br> &nbsp;&nbsp;熟悉Chain的概念。 <br> &nbsp;&nbsp;熟悉agent goole search。<br> &nbsp;&nbsp;熟悉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()