Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"], ["
|
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()
|