Spaces:
Runtime error
Runtime error
Commit
·
7326c38
1
Parent(s):
e55082e
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ if credentials_json is None:
|
|
| 11 |
print("Error: Please set the CREDENTIALS")
|
| 12 |
else:
|
| 13 |
credentials = json.loads(credentials_json)
|
| 14 |
-
gr.load(name="spaces/bentobytes/LawGPT",
|
| 15 |
|
| 16 |
|
| 17 |
# client = Client("bentobytes/LawGPT", hf_token=HF_TOKEN)
|
|
|
|
| 11 |
print("Error: Please set the CREDENTIALS")
|
| 12 |
else:
|
| 13 |
credentials = json.loads(credentials_json)
|
| 14 |
+
gr.load(name="spaces/bentobytes/LawGPT", api_key=HF_TOKEN).launch(auth=credentials)
|
| 15 |
|
| 16 |
|
| 17 |
# client = Client("bentobytes/LawGPT", hf_token=HF_TOKEN)
|