Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -243,7 +243,7 @@ with gr.Blocks(title=title) as demo:
|
|
243 |
gr.Markdown(f"World is [RWKV 7B](https://github.com/BlinkDL/ChatRWKV) 100% RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM) trained on 100+ world languages. *** Please try examples first (bottom of page) *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}. Finetuned on alpaca, gpt4all, codealpaca and more. For best results, *** keep you prompt short and clear ***.</b>.") # <b>UPDATE: now with Chat (see above, as a tab) ==> turn off as of now due to VRAM leak caused by buggy code.
|
244 |
with gr.Row():
|
245 |
with gr.Column():
|
246 |
-
instruction = gr.Textbox(lines=2, label="Instruction", value="
|
247 |
input = gr.Textbox(lines=2, label="Input", placeholder="none")
|
248 |
token_count = gr.Slider(10, 300, label="Max Tokens", step=10, value=300)
|
249 |
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.2)
|
|
|
243 |
gr.Markdown(f"World is [RWKV 7B](https://github.com/BlinkDL/ChatRWKV) 100% RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM) trained on 100+ world languages. *** Please try examples first (bottom of page) *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}. Finetuned on alpaca, gpt4all, codealpaca and more. For best results, *** keep you prompt short and clear ***.</b>.") # <b>UPDATE: now with Chat (see above, as a tab) ==> turn off as of now due to VRAM leak caused by buggy code.
|
244 |
with gr.Row():
|
245 |
with gr.Column():
|
246 |
+
instruction = gr.Textbox(lines=2, label="Instruction", value='Say "Hello world" in 5 different languages.')
|
247 |
input = gr.Textbox(lines=2, label="Input", placeholder="none")
|
248 |
token_count = gr.Slider(10, 300, label="Max Tokens", step=10, value=300)
|
249 |
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.2)
|