logo
Browse Source

Update

Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
junjie.jiang 1 year ago
parent
commit
d63b625830
  1. 2
      README.md
  2. 2
      __init__.py

2
README.md

@ -23,7 +23,7 @@ Prompt Template.
from towhee import ops, pipe
import requests
towhee_docs = requests.get('https://raw.githubusercontent.com/towhee-io/towhee/main/README.md').context
towhee_docs = requests.get('https://raw.githubusercontent.com/towhee-io/towhee/main/README.md').content
temp = """{question}

2
__init__.py

@ -1,4 +1,4 @@
from .template_prompt import TemplatePrompt
def question_answer(temp: str):
def template(temp: str):
return TemplatePrompt(temp)

Loading…
Cancel
Save