Spaces:
Running
Running
Update src/models/storyGeneration.py
Browse files
src/models/storyGeneration.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
hf_token = os.environ.get("HUGGINGFACE_API_TOKEN")
|
5 |
|
6 |
story_generator = HuggingFaceEndpoint(
|
7 |
-
repo_id="
|
8 |
huggingfacehub_api_token=hf_token,
|
9 |
temperature=0.7,
|
10 |
max_new_tokens=200
|
|
|
4 |
hf_token = os.environ.get("HUGGINGFACE_API_TOKEN")
|
5 |
|
6 |
story_generator = HuggingFaceEndpoint(
|
7 |
+
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
8 |
huggingfacehub_api_token=hf_token,
|
9 |
temperature=0.7,
|
10 |
max_new_tokens=200
|