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