Beltran Fiz commited on
Commit ·
130b59c
1
Parent(s): de8975b
issue fixed
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import gradio as gr
|
|
| 3 |
|
| 4 |
read_key = os.environ.get('HF_TOKEN', None)
|
| 5 |
if read_key is None:
|
| 6 |
-
raise ValueError("HF_TOKEN environment variable not set.
|
| 7 |
with gr.Blocks() as demo:
|
| 8 |
gr.load("bbfizp/LBRCS", token=read_key, src="spaces")
|
| 9 |
-
|
|
|
|
| 3 |
|
| 4 |
read_key = os.environ.get('HF_TOKEN', None)
|
| 5 |
if read_key is None:
|
| 6 |
+
raise ValueError("HF_TOKEN environment variable not set.")
|
| 7 |
with gr.Blocks() as demo:
|
| 8 |
gr.load("bbfizp/LBRCS", token=read_key, src="spaces")
|
| 9 |
+
demo.launch(share=True)
|