BlinkDL commited on
Commit
9baa9ae
1 Parent(s): e8c4349

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ with gr.Blocks(title=title) as demo:
104
  gr.Markdown(f"This is [RWKV-5 World v2](https://huggingface.co/BlinkDL/rwkv-5-world) with 1.5B params - a 100% attention-free RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM). *** Please try examples first (bottom of page) *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}.")
105
  with gr.Row():
106
  with gr.Column():
107
- prompt = gr.Textbox(lines=2, label="Prompt", value=generate_prompt("Tell me about ravens."))
108
  token_count = gr.Slider(10, 333, label="Max Tokens", step=10, value=333)
109
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
110
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.5)
 
104
  gr.Markdown(f"This is [RWKV-5 World v2](https://huggingface.co/BlinkDL/rwkv-5-world) with 1.5B params - a 100% attention-free RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM). *** Please try examples first (bottom of page) *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}.")
105
  with gr.Row():
106
  with gr.Column():
107
+ prompt = gr.Textbox(lines=2, label="Prompt", value="Assistant: Sure! Here is a very detailed plan to create flying pigs.")
108
  token_count = gr.Slider(10, 333, label="Max Tokens", step=10, value=333)
109
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
110
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.5)