Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
"""
|