Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ with demo:
|
|
102 |
"<div>This example uses prompt engineering to search for answers in EleutherAI large language model and follows the pattern of Few Shot Learning where you supply A 1) Task Description, 2) a Set of Examples, and 3) a Prompt. Then few shot learning can show the answer given the pattern of the examples. More information on how it works is here: https://huggingface.co/blog/few-shot-learning-gpt-neo-and-inference-api Also the Eleuther AI was trained on texts called The Pile which is documented here on its github. Review this to find what types of language patterns it can generate text for as answers: https://github.com/EleutherAI/the-pile"
|
103 |
)
|
104 |
with gr.Row():
|
105 |
-
input_word = gr.Textbox(placeholder=
|
106 |
poem_txt = gr.Textbox(lines=7)
|
107 |
output_image = gr.Image(type="filepath", shape=(256,256))
|
108 |
|
|
|
102 |
"<div>This example uses prompt engineering to search for answers in EleutherAI large language model and follows the pattern of Few Shot Learning where you supply A 1) Task Description, 2) a Set of Examples, and 3) a Prompt. Then few shot learning can show the answer given the pattern of the examples. More information on how it works is here: https://huggingface.co/blog/few-shot-learning-gpt-neo-and-inference-api Also the Eleuther AI was trained on texts called The Pile which is documented here on its github. Review this to find what types of language patterns it can generate text for as answers: https://github.com/EleutherAI/the-pile"
|
103 |
)
|
104 |
with gr.Row():
|
105 |
+
input_word = gr.Textbox(lines=7, placeholder=prompt)
|
106 |
poem_txt = gr.Textbox(lines=7)
|
107 |
output_image = gr.Image(type="filepath", shape=(256,256))
|
108 |
|