Spaces:
Running
Running
Update src/models/storyGeneration.py (#8)
Browse files- Update src/models/storyGeneration.py (a9805010d27e75efc87a41015d8aede5d448cb5c)
Co-authored-by: Khan <[email protected]>
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
|