adriiita commited on
Commit
d45cd1d
·
verified ·
1 Parent(s): a2afe38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -24,6 +24,7 @@ def store_conversation(user_input, bot_response):
24
  print("Conversation stored successfully")
25
  except Exception as e:
26
  print(f"Error storing conversation: {str(e)}")
 
27
 
28
  def chat_with_groq(user_input, additional_context=None):
29
  chat_completion = groq_client.chat.completions.create(
@@ -49,4 +50,6 @@ demo = gr.ChatInterface(fn=chat_with_groq,
49
  clear_btn="Clear",)
50
 
51
  if __name__ == "__main__":
 
 
52
  demo.launch()
 
24
  print("Conversation stored successfully")
25
  except Exception as e:
26
  print(f"Error storing conversation: {str(e)}")
27
+ print("Make sure the Notion database is shared with your integration and the database ID is correct.")
28
 
29
  def chat_with_groq(user_input, additional_context=None):
30
  chat_completion = groq_client.chat.completions.create(
 
50
  clear_btn="Clear",)
51
 
52
  if __name__ == "__main__":
53
+ print(f"Using Notion database ID: {notion_database_id}")
54
+ print("Make sure the Notion database is shared with your integration.")
55
  demo.launch()