BlinkDL commited on
Commit
3d38c26
1 Parent(s): bd8572f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ with gr.Blocks(title=title) as demo:
100
  gr.Markdown(f"This is a ***1.5B*** (!!!) [RWKV-5 World v2](https://huggingface.co/BlinkDL/rwkv-5-world), which is 100% RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM) and attention-free. *** Please try examples first (bottom of page) *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}. For best results, *** keep you prompt short and clear ***.")
101
  with gr.Row():
102
  with gr.Column():
103
- instruction = gr.Textbox(lines=2, label="Prompt", value=generate_prompt("Tell me about ravens."))
104
  token_count = gr.Slider(10, 500, label="Max Tokens", step=10, value=500)
105
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
106
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.5)
 
100
  gr.Markdown(f"This is a ***1.5B*** (!!!) [RWKV-5 World v2](https://huggingface.co/BlinkDL/rwkv-5-world), which is 100% RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM) and attention-free. *** Please try examples first (bottom of page) *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}. For best results, *** keep you prompt short and clear ***.")
101
  with gr.Row():
102
  with gr.Column():
103
+ prompt = gr.Textbox(lines=2, label="Prompt", value=generate_prompt("Tell me about ravens."))
104
  token_count = gr.Slider(10, 500, label="Max Tokens", step=10, value=500)
105
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
106
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.5)