Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -15,4 +15,4 @@ input_component = gr.Textbox(label = "Input a persona, e.g. photographer", value
|
|
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, title = "ChatGPT Prompt Generator", description=description).launch()
|
|
|
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()
|