Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ user_state = gr.State(value="")
|
|
| 30 |
|
| 31 |
load_dotenv()
|
| 32 |
|
| 33 |
-
client = InferenceClient("mistralai/Mixtral-
|
| 34 |
default_lang = "en"
|
| 35 |
engines = {default_lang: Model(default_lang)}
|
| 36 |
image_path = "picturePerformance.jpg"
|
|
@@ -51,7 +51,7 @@ def transcribe(audio_path):
|
|
| 51 |
@spaces.GPU(duration=120)
|
| 52 |
def model(conversation):
|
| 53 |
system_instructions = (
|
| 54 |
-
"[SYSTEM] You are
|
| 55 |
)
|
| 56 |
generate_kwargs = dict(
|
| 57 |
temperature=0.6,
|
|
|
|
| 30 |
|
| 31 |
load_dotenv()
|
| 32 |
|
| 33 |
+
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
| 34 |
default_lang = "en"
|
| 35 |
engines = {default_lang: Model(default_lang)}
|
| 36 |
image_path = "picturePerformance.jpg"
|
|
|
|
| 51 |
@spaces.GPU(duration=120)
|
| 52 |
def model(conversation):
|
| 53 |
system_instructions = (
|
| 54 |
+
"[SYSTEM] You are Oral Coach, an AI-powered conversational coach. Guide the student through their oral responses "
|
| 55 |
)
|
| 56 |
generate_kwargs = dict(
|
| 57 |
temperature=0.6,
|