Instructions to use realitisoft/ai-bot-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use realitisoft/ai-bot-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="realitisoft/ai-bot-test")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("realitisoft/ai-bot-test") model = AutoModelForSpeechSeq2Seq.from_pretrained("realitisoft/ai-bot-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download venv/lib/python3.11/site-packages/prompt_toolkit/styles/__init__.py from realitisoft/ai-bot-test: direct link, hf CLI and curl.
- Browser
- Download file 1.64 kB
-
https://huggingface.co/realitisoft/ai-bot-test/resolve/main/venv/lib/python3.11/site-packages/prompt_toolkit/styles/__init__.py
- Command line
-
hf download hf://realitisoft/ai-bot-test/venv/lib/python3.11/site-packages/prompt_toolkit/styles/__init__.py
-
curl -L -o __init__.py https://huggingface.co/realitisoft/ai-bot-test/resolve/main/venv/lib/python3.11/site-packages/prompt_toolkit/styles/__init__.py
1.64 kB
| """ | |
| Styling for prompt_toolkit applications. | |
| """ | |
| from __future__ import annotations | |
| from .base import ( | |
| ANSI_COLOR_NAMES, | |
| DEFAULT_ATTRS, | |
| Attrs, | |
| BaseStyle, | |
| DummyStyle, | |
| DynamicStyle, | |
| ) | |
| from .defaults import default_pygments_style, default_ui_style | |
| from .named_colors import NAMED_COLORS | |
| from .pygments import ( | |
| pygments_token_to_classname, | |
| style_from_pygments_cls, | |
| style_from_pygments_dict, | |
| ) | |
| from .style import Priority, Style, merge_styles, parse_color | |
| from .style_transformation import ( | |
| AdjustBrightnessStyleTransformation, | |
| ConditionalStyleTransformation, | |
| DummyStyleTransformation, | |
| DynamicStyleTransformation, | |
| ReverseStyleTransformation, | |
| SetDefaultColorStyleTransformation, | |
| StyleTransformation, | |
| SwapLightAndDarkStyleTransformation, | |
| merge_style_transformations, | |
| ) | |
| __all__ = [ | |
| # Base. | |
| "Attrs", | |
| "DEFAULT_ATTRS", | |
| "ANSI_COLOR_NAMES", | |
| "BaseStyle", | |
| "DummyStyle", | |
| "DynamicStyle", | |
| # Defaults. | |
| "default_ui_style", | |
| "default_pygments_style", | |
| # Style. | |
| "Style", | |
| "Priority", | |
| "merge_styles", | |
| "parse_color", | |
| # Style transformation. | |
| "StyleTransformation", | |
| "SwapLightAndDarkStyleTransformation", | |
| "ReverseStyleTransformation", | |
| "SetDefaultColorStyleTransformation", | |
| "AdjustBrightnessStyleTransformation", | |
| "DummyStyleTransformation", | |
| "ConditionalStyleTransformation", | |
| "DynamicStyleTransformation", | |
| "merge_style_transformations", | |
| # Pygments. | |
| "style_from_pygments_cls", | |
| "style_from_pygments_dict", | |
| "pygments_token_to_classname", | |
| # Named colors. | |
| "NAMED_COLORS", | |
| ] | |