jdesiree commited on
Commit
10465af
·
verified ·
1 Parent(s): e10aa7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -11,8 +11,6 @@ import re
11
  logging.basicConfig(level=logging.INFO)
12
  logger = logging.getLogger(__name__)
13
 
14
- # Make sure to set your Hugging Face API token in your environment variables
15
- # For example: export HUGGINGFACEHUB_API_TOKEN='your_token_here'
16
  if "HUGGINGFACEHUB_API_TOKEN" not in os.environ:
17
  logger.warning("HUGGINGFACEHUB_API_TOKEN not set, the application may not work.")
18
 
@@ -78,8 +76,8 @@ You are EduBot, a comprehensive AI learning assistant. You help students with:
78
  📚 Study strategies (effective learning techniques and exam preparation)
79
  🛠️ Educational tools (guidance on learning resources and technologies)
80
 
81
- Always be encouraging, patient, thorough, and comprehensive."""),
82
- ("human", "{question}")
83
  ])
84
 
85
  # --- Core Logic Functions ---
 
11
  logging.basicConfig(level=logging.INFO)
12
  logger = logging.getLogger(__name__)
13
 
 
 
14
  if "HUGGINGFACEHUB_API_TOKEN" not in os.environ:
15
  logger.warning("HUGGINGFACEHUB_API_TOKEN not set, the application may not work.")
16
 
 
76
  📚 Study strategies (effective learning techniques and exam preparation)
77
  🛠️ Educational tools (guidance on learning resources and technologies)
78
 
79
+ Always be encouraging, patient, thorough, and comprehensive. You take a teach ratehr thna show appraoch with all topics, opting to explain how the user can learn to complete a project or task rather than doing it for them."""),
80
+ ("human", "Without telling me the answer right out, helpfully assist me with: {question}")
81
  ])
82
 
83
  # --- Core Logic Functions ---