Update app.py
Browse files
app.py
CHANGED
@@ -111,6 +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=gr.load("models/" + models[0])
|
115 |
if not history:
|
116 |
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=new_models[0], trust_remote_code=True)
|
115 |
#client1=gr.load("models/" + models[0])
|
116 |
if not history:
|
117 |
history = []
|