Update app.py
Browse files
app.py
CHANGED
|
@@ -125,7 +125,7 @@ def chat_inf_a(system_prompt,prompt,history,client_choice,seed,temp,tokens,top_p
|
|
| 125 |
)
|
| 126 |
#formatted_prompt=prompt
|
| 127 |
formatted_prompt = format_prompt_choose(f"{system_prompt}{prompt}", history, client_choice[0])
|
| 128 |
-
stream1 = client1(
|
| 129 |
output = ""
|
| 130 |
for response in stream1:
|
| 131 |
output += response.token.text
|
|
|
|
| 125 |
)
|
| 126 |
#formatted_prompt=prompt
|
| 127 |
formatted_prompt = format_prompt_choose(f"{system_prompt}{prompt}", history, client_choice[0])
|
| 128 |
+
stream1 = client1(prompt)
|
| 129 |
output = ""
|
| 130 |
for response in stream1:
|
| 131 |
output += response.token.text
|