Spaces:
Runtime error
Runtime error
import gradio as gr | |
gr.Interface.load("models/meta-llama/Llama-2-70b-chat-hf").launch() | |
from transformers import TransformersApi | |
# Replace YOUR_ACCESS_TOKEN with your actual Hugging Face access token | |
api = TransformersApi(api_key="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") | |
# Now you can use the API to download the model | |
model = api.get_model("meta-llama/Llama-2-70b-chat-hf") |