Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,9 @@ with gr.Blocks(fill_height=True) as demo:
|
|
39 |
|
40 |
def generate(prompt,history,language):
|
41 |
history.append("USER: "+prompt+"\n-----\n")
|
|
|
42 |
output = client.predict(prompt,language)
|
|
|
43 |
history.append("KHAYA: "+output+"\n*****\n")
|
44 |
full_output = ""
|
45 |
for el in history:
|
|
|
39 |
|
40 |
def generate(prompt,history,language):
|
41 |
history.append("USER: "+prompt+"\n-----\n")
|
42 |
+
print(history)
|
43 |
output = client.predict(prompt,language)
|
44 |
+
print(output)
|
45 |
history.append("KHAYA: "+output+"\n*****\n")
|
46 |
full_output = ""
|
47 |
for el in history:
|