Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def generate_question(role, topic, difficulty_level):
|
|
| 28 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2" #"Qwen/Qwen3-8B"
|
| 29 |
llm = HuggingFaceEndpoint(
|
| 30 |
repo_id=repo_id,
|
| 31 |
-
max_length=512,
|
| 32 |
temperature=0.5,
|
| 33 |
)
|
| 34 |
# llm_chain = prompt | llm
|
|
|
|
| 28 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2" #"Qwen/Qwen3-8B"
|
| 29 |
llm = HuggingFaceEndpoint(
|
| 30 |
repo_id=repo_id,
|
| 31 |
+
# max_length=512,
|
| 32 |
temperature=0.5,
|
| 33 |
)
|
| 34 |
# llm_chain = prompt | llm
|