Ryukijano commited on
Commit
2d271a0
1 Parent(s): 860dd2a

Updating app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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