fengtc commited on
Commit
eb3b23d
·
1 Parent(s): 84e13f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ from langchain.schema import AIMessage, HumanMessage
11
  from langchain import PromptTemplate, LLMChain
12
  from langchain.llms import TextGen
13
  from langchain.cache import InMemoryCache
14
-
15
  import langchain
16
  import os
17
  OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
@@ -52,5 +52,5 @@ langchain.llm_cache = InMemoryCache()
52
  gr.ChatInterface(predict,
53
  textbox=gr.Textbox(placeholder="请输入您的问题", container=False, scale=7),
54
  title="欢迎使用ANSYS软件AI机器人",
55
- examples=["你是谁?", "请介绍一下Fluent 软件的用户界面说明", "请用关于春天写一首100字的诗","数学题:小红有3元钱,小红买了2斤香蕉,香蕉的价格是每斤1元。问小红一共花了多少钱?","请用表格做一份学生课程表"],
56
  description="🦊请避免输入有违公序良俗的问题,模型可能无法回答不合适的问题🐇",).queue().launch()
 
11
  from langchain import PromptTemplate, LLMChain
12
  from langchain.llms import TextGen
13
  from langchain.cache import InMemoryCache
14
+ import time
15
  import langchain
16
  import os
17
  OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
 
52
  gr.ChatInterface(predict,
53
  textbox=gr.Textbox(placeholder="请输入您的问题", container=False, scale=7),
54
  title="欢迎使用ANSYS软件AI机器人",
55
+ examples=["你是谁?", "请介绍一下Fluent 软件的用户界面说明", "create-bounding-box","ANSYS Fluent Architecture"],
56
  description="🦊请避免输入有违公序良俗的问题,模型可能无法回答不合适的问题🐇",).queue().launch()