Abhay1210 commited on
Commit
15b7f06
β€’
1 Parent(s): 189328a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,5 +14,5 @@ def generate(prompt):
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()
 
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()