AilexGPT commited on
Commit
8db369e
·
verified ·
1 Parent(s): fdf6524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ def generate(prompt, max_new_tokens):
11
  output = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
12
  return output[0]
13
 
14
- st.title("ChatGPT-BingChat Prompt Generator")
15
- st.write("This app generates ChatGPT/BingChat & GPT-3 prompts using [this](https://huggingface.co/Kaludi/chatgpt-gpt4-prompts-bart-large-cnn-samsum) model trained by [Kaludi](https://huggingface.co/Kaludi/). Enter a role and a prompt will be generated based on it.")
16
  prompt = st.text_input("Enter a Role, Example: Virtual Assistant", placeholder="Text here", value="")
17
  max_new_tokens = st.slider("Select Max Tokens in Response", min_value=100, max_value=500, value=150, step=10)
18
  if st.button("Generate"):
 
11
  output = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
12
  return output[0]
13
 
14
+ st.title("ChatGPT_Streamlit-Prompt Generator")
15
+ st.write("This app generates ChatGPT/BingChat model trained by [Kaludi](https://huggingface.co/Kaludi/). Enter a role and a prompt will be generated based on it.")
16
  prompt = st.text_input("Enter a Role, Example: Virtual Assistant", placeholder="Text here", value="")
17
  max_new_tokens = st.slider("Select Max Tokens in Response", min_value=100, max_value=500, value=150, step=10)
18
  if st.button("Generate"):