Spaces:
Sleeping
Sleeping
谢璐璟 commited on
Commit ·
2d2af71
1
Parent(s): 4bbc19b
without_token
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def check_cc_license(youtube_url):
|
|
| 50 |
# 从您的模块中导入必要的函数
|
| 51 |
from utils.generate_distractors import prepare_q_inputs, construct_prompt_textonly, generate_distractors
|
| 52 |
from utils.api_utils import generate_from_openai_chat_completion
|
| 53 |
-
|
| 54 |
def generate_distractors_sync(model_name: str,
|
| 55 |
queries: list,
|
| 56 |
n: int=1,
|
|
|
|
| 50 |
# 从您的模块中导入必要的函数
|
| 51 |
from utils.generate_distractors import prepare_q_inputs, construct_prompt_textonly, generate_distractors
|
| 52 |
from utils.api_utils import generate_from_openai_chat_completion
|
| 53 |
+
|
| 54 |
def generate_distractors_sync(model_name: str,
|
| 55 |
queries: list,
|
| 56 |
n: int=1,
|