Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ import gradio as gr
|
|
5 |
from inference import LiveInfer
|
6 |
logger = transformers.logging.get_logger('liveinfer')
|
7 |
|
|
|
|
|
8 |
# python -m demo.app --resume_from_checkpoint ...
|
9 |
|
10 |
liveinfer = LiveInfer()
|
|
|
5 |
from inference import LiveInfer
|
6 |
logger = transformers.logging.get_logger('liveinfer')
|
7 |
|
8 |
+
huggingface_hub.login(os.getenv('HF_TOKEN'))
|
9 |
+
|
10 |
# python -m demo.app --resume_from_checkpoint ...
|
11 |
|
12 |
liveinfer = LiveInfer()
|