Spaces:
Runtime error
Runtime error
Updating app.py
Browse files
app.py
CHANGED
@@ -1,7 +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 |
|
|
|
1 |
import gradio as gr
|
2 |
# Import the necessary module
|
3 |
from gradio_client import Client
|
4 |
+
import huggingface_hub
|
5 |
|
6 |
+
#Logging in to Hugging Face
|
7 |
+
huggingface_hub.login(token="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")
|
8 |
# Initialize the client with your model
|
9 |
client = Client("ysharma/Explore_llamav2_with_TGI")
|
10 |
|