Spaces:
Runtime error
Runtime error
TogetherAI
commited on
Commit
β’
311103d
1
Parent(s):
ba18d69
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,9 @@ def generate(prompt):
|
|
13 |
input_component = gr.Textbox(label="Input a persona, e.g. photographer", value="photographer")
|
14 |
output_component = gr.Textbox(label="Prompt")
|
15 |
examples = [["photographer"], ["developer"]]
|
16 |
-
|
|
|
|
|
17 |
|
18 |
gr.Interface(
|
19 |
generate,
|
|
|
13 |
input_component = gr.Textbox(label="Input a persona, e.g. photographer", value="photographer")
|
14 |
output_component = gr.Textbox(label="Prompt")
|
15 |
examples = [["photographer"], ["developer"]]
|
16 |
+
|
17 |
+
# Beschreibung hier korrekt eingerΓΌckt
|
18 |
+
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. π§π»π§π»βππ§π»βπ¨π§π»βπ¬π§π»βπ»π§πΌβπ«π§π½βπΎ"
|
19 |
|
20 |
gr.Interface(
|
21 |
generate,
|