Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,11 +36,13 @@ def update_direct_steering_options(prompt_type):
|
|
36 |
# This function returns different choices based on the selected prompt manipulation
|
37 |
options = {
|
38 |
"None": [],
|
39 |
-
"Impersonation (direct steering)": [
|
40 |
"Most similar RAG (indirect steering with related context)": ["Option A", "Option B", "Option C"],
|
41 |
"Random RAG (indirect steering with randomized context)": ["Random 1", "Random 2", "Random 3"]
|
42 |
}
|
43 |
-
|
|
|
|
|
44 |
|
45 |
def main():
|
46 |
description = "This is a simple interface to compare two model prodided by Anyscale. Please enter your API key and your message."
|
|
|
36 |
# This function returns different choices based on the selected prompt manipulation
|
37 |
options = {
|
38 |
"None": [],
|
39 |
+
"Impersonation (direct steering)": ["Option 1", "Option 2", "Option 3"]
|
40 |
"Most similar RAG (indirect steering with related context)": ["Option A", "Option B", "Option C"],
|
41 |
"Random RAG (indirect steering with randomized context)": ["Random 1", "Random 2", "Random 3"]
|
42 |
}
|
43 |
+
test = ["Option 1", "Option 2", "Option 3"]
|
44 |
+
return test
|
45 |
+
#return options.get(prompt_type, [])
|
46 |
|
47 |
def main():
|
48 |
description = "This is a simple interface to compare two model prodided by Anyscale. Please enter your API key and your message."
|