Lu032145 commited on
Commit
c7d0f7f
·
verified ·
1 Parent(s): 7307d79

Update Gradio_UI.py

Browse files
Files changed (1) hide show
  1. Gradio_UI.py +4 -0
Gradio_UI.py CHANGED
@@ -14,6 +14,10 @@
14
  # See the License for the specific language governing permissions and
15
  # limitations under the License.
16
  import os
 
 
 
 
17
 
18
  import mimetypes
19
  import re
 
14
  # See the License for the specific language governing permissions and
15
  # limitations under the License.
16
  import os
17
+ from huggingface_hub import login
18
+ import os
19
+
20
+ login(token=os.environ["HUGGINGFACE_API_KEY"])
21
 
22
  import mimetypes
23
  import re