rr19tech commited on
Commit
2b709fe
·
verified ·
1 Parent(s): f56d6bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from gradio_client import Client
5
  HF_TOKEN = os.environ.get("HF_TOKEN")
6
 
7
  # Connect specifically via the Client
8
- client = Client("rr19tech/PLNB-Demo", hf_token=HF_TOKEN)
9
 
10
  def predict(text):
11
  # This calls the private Space's API directly from the server
 
5
  HF_TOKEN = os.environ.get("HF_TOKEN")
6
 
7
  # Connect specifically via the Client
8
+ client = Client("rr19tech/PLNB-Demo", token=HF_TOKEN)
9
 
10
  def predict(text):
11
  # This calls the private Space's API directly from the server