joaogante HF staff commited on
Commit
d4a2468
·
1 Parent(s): f7f857f
Files changed (2) hide show
  1. app.py +1 -1
  2. 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="Question: What is the meaning of life? Answer:",
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 (TextIteratorStreamer will be added in v4.28)
 
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)