Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
import os
|
4 |
|
5 |
-
client = InferenceClient("
|
6 |
|
7 |
#Dynamic prompt builder based on CEFR level
|
8 |
def level_to_prompt(level):
|
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
import os
|
4 |
|
5 |
+
client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.1", token=os.getenv("HF_TOKEN"))
|
6 |
|
7 |
#Dynamic prompt builder based on CEFR level
|
8 |
def level_to_prompt(level):
|