Spaces:
Sleeping
Sleeping
Commit
·
44b2436
1
Parent(s):
81a2b2b
app.py
CHANGED
|
@@ -19,6 +19,7 @@ model_list=["VPTQ-community/Meta-Llama-3.1-8B-Instruct-v12-k65536-4096-woft",
|
|
| 19 |
current_model_g = model_list[0]
|
| 20 |
chat_completion = get_chat_loop_generator(current_model_g)
|
| 21 |
|
|
|
|
| 22 |
def update_title_and_chatmodel(model):
|
| 23 |
model = str(model)
|
| 24 |
global chat_completion
|
|
|
|
| 19 |
current_model_g = model_list[0]
|
| 20 |
chat_completion = get_chat_loop_generator(current_model_g)
|
| 21 |
|
| 22 |
+
@spaces.GPU
|
| 23 |
def update_title_and_chatmodel(model):
|
| 24 |
model = str(model)
|
| 25 |
global chat_completion
|