Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ async def wait(job):
|
|
24 |
|
25 |
|
26 |
def get_client(session: Optional[str] = None) -> grc.Client:
|
27 |
-
client = grc.Client("https://
|
28 |
if session:
|
29 |
client.session_hash = session
|
30 |
return client
|
|
|
24 |
|
25 |
|
26 |
def get_client(session: Optional[str] = None) -> grc.Client:
|
27 |
+
client = grc.Client("https://wop-xxx-opengpt.hf.space/", hf_token=os.getenv("HF_TOKEN"))
|
28 |
if session:
|
29 |
client.session_hash = session
|
30 |
return client
|