Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ exampleDatasets = ["No Dataset Finetuning",
|
|
44 |
"vedantgaur/GPTOutputs-MWP - Both AI and Human Data",
|
45 |
"dmitva/human_ai_generated_text - Both AI and Human Data"]
|
46 |
|
47 |
-
examples = [[random.choice(exampleModels), random.choice(exampleDatasets),
|
48 |
|
49 |
|
50 |
def detect_ai_generated_text(model: str, dataset: str, text: str) -> list:
|
|
|
44 |
"vedantgaur/GPTOutputs-MWP - Both AI and Human Data",
|
45 |
"dmitva/human_ai_generated_text - Both AI and Human Data"]
|
46 |
|
47 |
+
examples = [[random.choice(exampleModels), random.choice(exampleDatasets), example] for example in exampleText]
|
48 |
|
49 |
|
50 |
def detect_ai_generated_text(model: str, dataset: str, text: str) -> list:
|