File size: 372 Bytes
860dd2a
 
 
2d271a0
860dd2a
2d271a0
 
860dd2a
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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")