roshnn24 commited on
Commit
acd0d3a
·
verified ·
1 Parent(s): cbf0c63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -473,17 +473,17 @@ def chat():
473
  print(f"Received message: {user_input}")
474
 
475
  # Prepare the prompt
476
- prompt = f"""Please provide a helpful response to: {user_input}
477
 
478
- Guidelines:
479
- 1. If code is needed, use ```python for code blocks
480
- 2. Be clear and concise
481
- 3. If you don't know something, say so
482
- """
483
 
484
  # Get response from LLM
485
  try:
486
- response = llm(prompt)
487
  print(f"Generated response: {response[:100]}...")
488
 
489
  return jsonify({
 
473
  print(f"Received message: {user_input}")
474
 
475
  # Prepare the prompt
476
+ # prompt = f"""Please provide a helpful response to: {user_input}
477
 
478
+ # Guidelines:
479
+ # 1. If code is needed, use ```python for code blocks
480
+ # 2. Be clear and concise
481
+ # 3. If you don't know something, say so
482
+ # """
483
 
484
  # Get response from LLM
485
  try:
486
+ response = llm(user_input)
487
  print(f"Generated response: {response[:100]}...")
488
 
489
  return jsonify({