'commit'
This commit is contained in:
@@ -5,10 +5,11 @@ import requests
|
||||
from dashscope import ImageSynthesis
|
||||
import os
|
||||
|
||||
from Config.Config import ALY_LLM_API_KEY
|
||||
|
||||
prompt = "一副典雅庄重的对联悬挂于厅堂之中,房间是个安静古典的中式布置,桌子上放着一些青花瓷,对联上左书“义本生知人机同道善思新”,右书“通云赋智乾坤启数高志远”, 横批“智启通义”,字体飘逸,中间挂在一着一副中国风的画作,内容是岳阳楼。"
|
||||
|
||||
# 若没有配置环境变量,请用百炼API Key将下行替换为:api_key="sk-xxx"
|
||||
api_key = os.getenv("DASHSCOPE_API_KEY")
|
||||
api_key = ALY_LLM_API_KEY
|
||||
|
||||
def async_call():
|
||||
print('----创建任务----')
|
||||
|
Reference in New Issue
Block a user