AdamyaG commited on
Commit
4a4d017
·
verified ·
1 Parent(s): 1639713

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from langchain_core.prompts import PromptTemplate
7
  import os
8
 
9
  def generate_question(role, topic, difficulty_level):
10
- prompt = f"Generate an interview question for the role of {role} on the topic of {topic} with difficulty level {difficulty_level}."
11
  template = """Question: {question}
12
  Answer:
13
  """
 
7
  import os
8
 
9
  def generate_question(role, topic, difficulty_level):
10
+ prompt = f"Generate an interview question for the role of {role} on the topic of {topic} with difficulty level {difficulty_level}. Just ask the question, that's it. No explanation is required."
11
  template = """Question: {question}
12
  Answer:
13
  """