Spaces:
Runtime error
Runtime error
template
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -69,7 +69,7 @@ with gr.Blocks() as demo:
|
|
69 |
with gr.Row():
|
70 |
with gr.Column(scale=4):
|
71 |
user_text = gr.Textbox(
|
72 |
-
placeholder="
|
73 |
label="Prompt"
|
74 |
)
|
75 |
model_output = gr.Textbox(label="Model output", lines=10, interactive=False)
|
|
|
69 |
with gr.Row():
|
70 |
with gr.Column(scale=4):
|
71 |
user_text = gr.Textbox(
|
72 |
+
placeholder="A sequence: one, two, three, ",
|
73 |
label="Prompt"
|
74 |
)
|
75 |
model_output = gr.Textbox(label="Model output", lines=10, interactive=False)
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
accelerate
|
2 |
bitsandbytes==0.37.0
|
3 |
torch
|
4 |
-
git+https://github.com/huggingface/transformers.git # transformers from main (
|
|
|
1 |
accelerate
|
2 |
bitsandbytes==0.37.0
|
3 |
torch
|
4 |
+
git+https://github.com/huggingface/transformers.git # transformers from main (Assisted generation will be added in v4.29)
|