l1006986533 commited on
Commit
cf17c29
1 Parent(s): e5f4626

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -148,8 +148,8 @@ with gr.Blocks(title=title) as demo:
148
  gr.Markdown(f"This is RWKV-5 World v2 with 1.5B params - a 100% attention-free RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM). Supports all 100+ world languages and code. And we have [200+ Github RWKV projects](https://github.com/search?o=desc&p=1&q=rwkv&s=updated&type=Repositories). *** Please try examples first (bottom of page) *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}.")
149
  with gr.Row():
150
  with gr.Column():
151
- prompt = gr.Textbox(lines=2, label="Prompt", value="Assistant: ")
152
- token_count = gr.Slider(10, 333, label="Max Tokens", step=10, value=333)
153
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
154
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.3)
155
  presence_penalty = gr.Slider(0.0, 1.0, label="Presence Penalty", step=0.1, value=1)
 
148
  gr.Markdown(f"This is RWKV-5 World v2 with 1.5B params - a 100% attention-free RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM). Supports all 100+ world languages and code. And we have [200+ Github RWKV projects](https://github.com/search?o=desc&p=1&q=rwkv&s=updated&type=Repositories). *** Please try examples first (bottom of page) *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}.")
149
  with gr.Row():
150
  with gr.Column():
151
+ prompt = gr.Textbox(lines=2, label="Prompt", value="")
152
+ token_count = gr.Slider(10, 300, label="Max Tokens", step=10, value=100)
153
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
154
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.3)
155
  presence_penalty = gr.Slider(0.0, 1.0, label="Presence Penalty", step=0.1, value=1)