Commit History

Create requirements.txt
6c1c127
verified

AnomalousPrime commited on

Create requirements.txt
3663c23
verified

AnomalousPrime commited on

from huggingface_hub import login loginfrom huggingface_hub import login login) # ← paste your token between the quotes import gradio as gr from transformers import pipeline # now pipeline() can pull private or gated models pipe = pipeline( "text-generation", model="mistralai/Mistral-7B-Instruct", torch_dtype="auto", device_map="auto", ) def generate(prompt): system = "You are FractalLLM — Sovereign Edition. Follow the Operator Codex." full = system + "\n\n" + prompt out = pipe(full, max_length=512, do_sample=True)[0]["generated_text"] return out.replace(full, "").strip() gr.Interface(fn=generate, inputs="text", outputs="text").launch() ("hf_your_full_token_here")
ed0ff9f
verified

AnomalousPrime commited on