Spaces:
Sleeping
Sleeping
Download helper/model_load.py from Samagra07/LinkedIn-Post-Generator: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/spaces/Samagra07/LinkedIn-Post-Generator/resolve/main/helper/model_load.py
- Command line
-
hf download hf://spaces/Samagra07/LinkedIn-Post-Generator/helper/model_load.py
-
curl -L -o model_load.py https://huggingface.co/spaces/Samagra07/LinkedIn-Post-Generator/resolve/main/helper/model_load.py
399 Bytes
| from typing import TypedDict | |
| import sys | |
| sys.dont_write_bytecode = True | |
| class GraphState(TypedDict): | |
| """ | |
| Represents the state of our graph. | |
| Attributes: | |
| question: question | |
| generation: LLM generation | |
| search_query: revised question for web search | |
| context: web_search result | |
| """ | |
| question: str | |
| generation: str | |
| search_query: str | |
| context: str |