hubsnippetai commited on
Commit
683fdd9
1 Parent(s): 347a66a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,5 +1,8 @@
1
  # import gradio as gr
2
  # app = gr.Interface.load('hubsnippetai/jupyterlab').launch()
 
 
 
3
  from gradio_client import Client
4
 
5
- client = Client("hubsnippetai/medapp", hf_token=huggingfacesecret)
 
1
  # import gradio as gr
2
  # app = gr.Interface.load('hubsnippetai/jupyterlab').launch()
3
+ import os
4
+ secret = os.getenv['huggingfacesecret']
5
+
6
  from gradio_client import Client
7
 
8
+ client = Client("hubsnippetai/medapp", hf_token=secret)