Beltran Fiz commited on
Commit
130b59c
·
1 Parent(s): de8975b

issue fixed

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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. Please set it to your Hugging Face API token.")
7
  with gr.Blocks() as demo:
8
  gr.load("bbfizp/LBRCS", token=read_key, src="spaces")
9
- demo.launch(share=True)
 
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)