Spaces:
Sleeping
Sleeping
HongcanGuo
commited on
Commit
•
e958ad6
1
Parent(s):
8fc91ff
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def img2text(image):
|
|
26 |
|
27 |
# 定义文本生成函数
|
28 |
def text2text(user_input):
|
29 |
-
api_key =
|
30 |
base_url = "https://openrouter.ai/api/v1"
|
31 |
|
32 |
headers = {
|
@@ -116,7 +116,7 @@ def text2vid(input_text):
|
|
116 |
|
117 |
def text2text_A(user_input):
|
118 |
# 设置API密钥和基础URL
|
119 |
-
api_key =
|
120 |
base_url = "https://openrouter.ai/api/v1"
|
121 |
|
122 |
headers = {
|
|
|
26 |
|
27 |
# 定义文本生成函数
|
28 |
def text2text(user_input):
|
29 |
+
api_key = "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"
|
30 |
base_url = "https://openrouter.ai/api/v1"
|
31 |
|
32 |
headers = {
|
|
|
116 |
|
117 |
def text2text_A(user_input):
|
118 |
# 设置API密钥和基础URL
|
119 |
+
api_key = "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"
|
120 |
base_url = "https://openrouter.ai/api/v1"
|
121 |
|
122 |
headers = {
|