Spaces:
Runtime error
Runtime error
import gradio as gr | |
# Import the necessary module | |
from gradio_client import Client | |
import huggingface_hub | |
#Logging in to Hugging Face | |
huggingface_hub.login(token="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") | |
# Initialize the client with your model | |
client = Client("ysharma/Explore_llamav2_with_TGI") | |
# Deploy to Discord | |
client.deploy_discord(to_id="llama2-70b-discord-bot") | |