Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
40 |
def generate(prompt,history,language):
|
41 |
print(history)
|
42 |
output = client.predict(prompt,language)
|
43 |
-
history.append(
|
44 |
return history
|
45 |
|
46 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
40 |
def generate(prompt,history,language):
|
41 |
print(history)
|
42 |
output = client.predict(prompt,language)
|
43 |
+
history.append([prompt+"\n-----\n",output+"\n*****\n"])
|
44 |
return history
|
45 |
|
46 |
with gr.Blocks(fill_height=True) as demo:
|