Spaces:
Runtime error
Runtime error
anonymousauthors
commited on
Commit
·
25571e4
1
Parent(s):
97322a9
updates
Browse files
pages/2_😈_BlackBox_and_WhiteBox_Attacks.py
CHANGED
@@ -266,7 +266,7 @@ if button('Tokenize', key='tokenizer'):
|
|
266 |
if not platform.system().lower() == 'darwin':
|
267 |
st.markdown(f'The response of EleutherAI/gpt-neo-1.3B with the prompt :blue[{outputs[i]}]')
|
268 |
st.markdown('<blockquote>' + generator1(outputs[i], do_sample=True, min_length=50)[0]['generated_text'].replace(title, '', 1) + '</blockquote>', unsafe_allow_html=True)
|
269 |
-
|
270 |
output_openai = get_codex_response(outputs[i])
|
271 |
st.markdown(f'The response of [Codex](https://openai.com/blog/openai-codex/) with the prompt :blue[{outputs[i]}]')
|
272 |
st.markdown('<blockquote>' + output_openai + '</blockquote>', unsafe_allow_html=True)
|
|
|
266 |
if not platform.system().lower() == 'darwin':
|
267 |
st.markdown(f'The response of EleutherAI/gpt-neo-1.3B with the prompt :blue[{outputs[i]}]')
|
268 |
st.markdown('<blockquote>' + generator1(outputs[i], do_sample=True, min_length=50)[0]['generated_text'].replace(title, '', 1) + '</blockquote>', unsafe_allow_html=True)
|
269 |
+
|
270 |
output_openai = get_codex_response(outputs[i])
|
271 |
st.markdown(f'The response of [Codex](https://openai.com/blog/openai-codex/) with the prompt :blue[{outputs[i]}]')
|
272 |
st.markdown('<blockquote>' + output_openai + '</blockquote>', unsafe_allow_html=True)
|