Spaces:
Runtime error
Runtime error
Commit
·
1ab212a
1
Parent(s):
a305509
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
|
|
| 1 |
from gradio_client import Client
|
| 2 |
import os
|
| 3 |
|
|
|
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
# client = Client("bentobytes/LawGPT", hf_token=hfkey)
|
| 8 |
-
# gr.load(name="spaces/bentobytes/LawGPT", api_key=hfkey).launch()
|
| 9 |
|
| 10 |
-
HF_TOKEN = os.environ.get("hfkey")
|
| 11 |
|
| 12 |
-
client = Client
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
from gradio_client import Client
|
| 3 |
import os
|
| 4 |
|
| 5 |
+
HF_TOKEN = os.environ.get("hfkey")
|
| 6 |
|
| 7 |
+
gr.load(name="spaces/bentobytes/LawGPT", api_key=HF_TOKEN).launch()
|
|
|
|
|
|
|
|
|
|
| 8 |
|
|
|
|
| 9 |
|
| 10 |
+
# client = Client("bentobytes/LawGPT", hf_token=HF_TOKEN)
|
| 11 |
+
# client = Client.duplicate("bentobytes/LawGPT", hf_token=HF_TOKEN)
|