philipk22 commited on
Commit
522d205
·
1 Parent(s): 6b32397

update app.py with o1-mini

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -87,11 +87,11 @@ async def main(message: cl.Message):
87
  msg.prompt = prompt
88
 
89
  # Add indicator emoji based on evaluation result
90
- if any(word in msg.content.lower() for word in ['critical', 'severe', 'serious', 'failing']):
91
- await msg.stream_token(" 🚨") # Critical issues found
92
- elif any(word in msg.content.lower() for word in ['minor', 'small', 'minimal']):
93
- await msg.stream_token(" ⚠️") # Minor issues found
94
- else:
95
- await msg.stream_token(" ✅") # No obvious issues
96
 
97
  await msg.send()
 
87
  msg.prompt = prompt
88
 
89
  # Add indicator emoji based on evaluation result
90
+ #if any(word in msg.content.lower() for word in ['critical', 'severe', 'serious', 'failing']):
91
+ # await msg.stream_token(" 🚨") # Critical issues found
92
+ #elif any(word in msg.content.lower() for word in ['minor', 'small', 'minimal']):
93
+ # await msg.stream_token(" ⚠️") # Minor issues found
94
+ #else:
95
+ # await msg.stream_token(" ✅") # No obvious issues
96
 
97
  await msg.send()