Abhay1210 commited on
Commit
2caddf7
β€’
1 Parent(s): 15b7f06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,6 +13,6 @@ def generate(prompt):
13
 
14
  input_component = gr.Textbox(label = "Input a persona, e.g. photographer", value = "photographer")
15
  output_component = gr.Textbox(label = "Prompt")
16
- examples = [["photographer"], ["developer"]]
17
  description = "This app generates ChatGPT prompts, it's based on a BART model trained on [this dataset](https://huggingface.co/datasets/fka/awesome-chatgpt-prompts). Simply enter a persona that you want the prompt to be generated based on."
18
  gr.Interface(generate, inputs = input_component, outputs=output_component, examples=examples, title = "πŸ‘¨ ChatGPT Prompt Generator πŸ‘¨", description=description).launch()
 
13
 
14
  input_component = gr.Textbox(label = "Input a persona, e.g. photographer", value = "photographer")
15
  output_component = gr.Textbox(label = "Prompt")
16
+ examples = [["photographer"], ["Linux Admin"]]
17
  description = "This app generates ChatGPT prompts, it's based on a BART model trained on [this dataset](https://huggingface.co/datasets/fka/awesome-chatgpt-prompts). Simply enter a persona that you want the prompt to be generated based on."
18
  gr.Interface(generate, inputs = input_component, outputs=output_component, examples=examples, title = "πŸ‘¨ ChatGPT Prompt Generator πŸ‘¨", description=description).launch()