Beltran Fiz commited on
Commit ·
e9165c6
1
Parent(s): 130b59c
fixed double render
Browse files
app.py
CHANGED
|
@@ -1,9 +1,7 @@
|
|
| 1 |
import os
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
gr.load("bbfizp/LBRCS", token=read_key, src="spaces")
|
| 9 |
-
demo.launch(share=True)
|
|
|
|
| 1 |
import os
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
+
token = os.environ["HF_TOKEN"]
|
| 5 |
+
|
| 6 |
+
app = gr.load("bbfizp/LBRCS", src="spaces", token=token)
|
| 7 |
+
app.launch(share=True)
|
|
|
|
|
|