Spaces:
Runtime error
Runtime error
Create app.py
Browse filesFirst iteration fo the app.
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
# Import the necessary module
|
3 |
+
from gradio_client import Client
|
4 |
+
|
5 |
+
# Initialize the client with your model
|
6 |
+
client = Client("ysharma/Explore_llamav2_with_TGI")
|
7 |
+
|
8 |
+
# Deploy to Discord
|
9 |
+
client.deploy_discord(to_id="llama2-70b-discord-bot")
|
10 |
+
|