Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ def chat_inf_a(system_prompt,prompt,history,client_choice,seed,temp,tokens,top_p
|
|
| 111 |
if system_prompt:
|
| 112 |
system_prompt=f'{system_prompt}, '
|
| 113 |
client1=client_z[int(hid_val)-1]
|
| 114 |
-
client1 = pipeline("text-generation", model=
|
| 115 |
#client1=gr.load("models/" + models[0])
|
| 116 |
if not history:
|
| 117 |
history = []
|
|
|
|
| 111 |
if system_prompt:
|
| 112 |
system_prompt=f'{system_prompt}, '
|
| 113 |
client1=client_z[int(hid_val)-1]
|
| 114 |
+
client1 = pipeline("text-generation", model=models[0], trust_remote_code=True)
|
| 115 |
#client1=gr.load("models/" + models[0])
|
| 116 |
if not history:
|
| 117 |
history = []
|