Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from huggingface_hub import InferenceClient
|
|
| 4 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta") #change LLM
|
| 5 |
|
| 6 |
def respond(message, history):
|
| 7 |
-
messages = [{"role": "system", "content": "You are a
|
| 8 |
if history:
|
| 9 |
messages.extend(history)
|
| 10 |
messages.append({"role": "user", "content": message})
|
|
|
|
| 4 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta") #change LLM
|
| 5 |
|
| 6 |
def respond(message, history):
|
| 7 |
+
messages = [{"role": "system", "content": "You are a professional Interviewer and you are asking questions based on interview choices"}]
|
| 8 |
if history:
|
| 9 |
messages.extend(history)
|
| 10 |
messages.append({"role": "user", "content": message})
|