ysharma HF Staff commited on
Commit
8a61159
·
verified ·
1 Parent(s): f189ba8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -31,13 +31,18 @@ def simulate_thinking_chat(message, history):
31
  yield response
32
 
33
  time.sleep(5.0)
34
- response = [
35
  response,
36
  ChatMessage(
37
  content="Based on my thoughts and analysis above, my response is: This dummy repro shows how thoughts of a thinking LLM can be progressively shown before providing its final answer."
38
  )
39
  ]
40
  yield response
 
 
 
 
 
41
 
42
 
43
 
 
31
  yield response
32
 
33
  time.sleep(5.0)
34
+ tmp = """ response = [
35
  response,
36
  ChatMessage(
37
  content="Based on my thoughts and analysis above, my response is: This dummy repro shows how thoughts of a thinking LLM can be progressively shown before providing its final answer."
38
  )
39
  ]
40
  yield response
41
+ """
42
+ response = ChatMessage(
43
+ content="Based on my thoughts and analysis above, my response is: This dummy repro shows how thoughts of a thinking LLM can be progressively shown before providing its final answer."
44
+ )
45
+ yield response
46
 
47
 
48