Spaces:
Runtime error
Runtime error
peter szemraj
commited on
Commit
•
971c338
1
Parent(s):
adebe05
revert html string
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def chat(trivia_query):
|
|
99 |
"""
|
100 |
history = []
|
101 |
response = ask_gpt(trivia_query)
|
102 |
-
history.append(f"<b>
|
103 |
gr.set_state(history) # save the history
|
104 |
html = ""
|
105 |
for item in history:
|
|
|
99 |
"""
|
100 |
history = []
|
101 |
response = ask_gpt(trivia_query)
|
102 |
+
history.append(f"<b>{trivia_query}</b> <br> <br> <b>{response}</b>")
|
103 |
gr.set_state(history) # save the history
|
104 |
html = ""
|
105 |
for item in history:
|