Spaces:
Runtime error
Runtime error
Commit
•
8ebcf7f
1
Parent(s):
f18f1da
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ nvmlInit()
|
|
7 |
gpu_h = nvmlDeviceGetHandleByIndex(0)
|
8 |
ctx_limit = 3000
|
9 |
|
10 |
-
title = "EagleX
|
11 |
description = f"This is [EagleX 7B 2.25T model](https://blog.rwkv.com/p/336f47bf-d8e9-4174-ac1d-02c6c8a99bc0) - based on the RWKV architecture a 100% attention-free RNN [RWKV-LM](https://wiki.rwkv.com). Supports 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 context length of {ctx_limit}, download and run locally to run past context length limit"
|
12 |
|
13 |
os.environ["RWKV_JIT_ON"] = '1'
|
@@ -137,7 +137,7 @@ English:''', 333, 1, 0.3, 0, 1],
|
|
137 |
##########################################################################
|
138 |
|
139 |
with gr.Blocks(title=title) as demo:
|
140 |
-
gr.HTML(f"<div style=\"text-align: center;\">\n<h1>
|
141 |
with gr.Tab("Raw Generation"):
|
142 |
gr.Markdown(description)
|
143 |
with gr.Row():
|
|
|
7 |
gpu_h = nvmlDeviceGetHandleByIndex(0)
|
8 |
ctx_limit = 3000
|
9 |
|
10 |
+
title = "RWKV / v5 EagleX v2 7B - Gradio"
|
11 |
description = f"This is [EagleX 7B 2.25T model](https://blog.rwkv.com/p/336f47bf-d8e9-4174-ac1d-02c6c8a99bc0) - based on the RWKV architecture a 100% attention-free RNN [RWKV-LM](https://wiki.rwkv.com). Supports 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 context length of {ctx_limit}, download and run locally to run past context length limit"
|
12 |
|
13 |
os.environ["RWKV_JIT_ON"] = '1'
|
|
|
137 |
##########################################################################
|
138 |
|
139 |
with gr.Blocks(title=title) as demo:
|
140 |
+
gr.HTML(f"<div style=\"text-align: center;\">\n<h1>{title}</h1>\n</div>")
|
141 |
with gr.Tab("Raw Generation"):
|
142 |
gr.Markdown(description)
|
143 |
with gr.Row():
|