Spaces:
Build error
Build error
change template
Browse files
app.py
CHANGED
@@ -94,20 +94,20 @@ col1, col2 = st.columns(2)
|
|
94 |
col1.subheader("Candidate labels")
|
95 |
labels = col1.text_area(
|
96 |
label="These are the labels that the model will try to predict for the given text input. Your input labels should be comma separated and meaningful.",
|
97 |
-
value="
|
98 |
key="current_labels",
|
99 |
)
|
100 |
|
101 |
col1.header("Make predictions")
|
102 |
text = col1.text_area(
|
103 |
"Enter a sentence or a paragraph to classify.",
|
104 |
-
value="
|
105 |
key="current_text",
|
106 |
)
|
107 |
col2.subheader("Prompt template")
|
108 |
prompt_template = col2.text_area(
|
109 |
label="Prompt template is used to transform NLI and NSP tasks into a general-use zero-shot classifier. Models replace {} with the labels that you have given.",
|
110 |
-
value="
|
111 |
key="current_template",
|
112 |
)
|
113 |
col2.header("")
|
|
|
94 |
col1.subheader("Candidate labels")
|
95 |
labels = col1.text_area(
|
96 |
label="These are the labels that the model will try to predict for the given text input. Your input labels should be comma separated and meaningful.",
|
97 |
+
value="tatli,burger,kebab,diğer,tuzlu",
|
98 |
key="current_labels",
|
99 |
)
|
100 |
|
101 |
col1.header("Make predictions")
|
102 |
text = col1.text_area(
|
103 |
"Enter a sentence or a paragraph to classify.",
|
104 |
+
value="baklava",
|
105 |
key="current_text",
|
106 |
)
|
107 |
col2.subheader("Prompt template")
|
108 |
prompt_template = col2.text_area(
|
109 |
label="Prompt template is used to transform NLI and NSP tasks into a general-use zero-shot classifier. Models replace {} with the labels that you have given.",
|
110 |
+
value="{}",
|
111 |
key="current_template",
|
112 |
)
|
113 |
col2.header("")
|