Inoob commited on
Commit
7dce895
·
verified ·
1 Parent(s): 4b77e78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ if st.session_state.current_index < len(samples):
83
 
84
  current_element=" ".join(current_element).strip().replace("\n","")
85
  prompt = "You are a helpful assistant that echoes the user's input, but backwards, do not simply rearrange the words, reverse the user's input down to the character (e.g. reverse Hello World to dlroW olleH). Surround the backwards version of the user's input with <back> </back> tags. "+current_element
86
- st.code(f"**Element {st.session_state.current_index + 1}:** {prompt}")
87
  true_output = current_element[::-1]
88
  print("True output:", true_output)
89
  # Input widget to get user input, tied to session state
 
83
 
84
  current_element=" ".join(current_element).strip().replace("\n","")
85
  prompt = "You are a helpful assistant that echoes the user's input, but backwards, do not simply rearrange the words, reverse the user's input down to the character (e.g. reverse Hello World to dlroW olleH). Surround the backwards version of the user's input with <back> </back> tags. "+current_element
86
+ st.code(prompt)
87
  true_output = current_element[::-1]
88
  print("True output:", true_output)
89
  # Input widget to get user input, tied to session state