SethCram commited on
Commit
1187d29
·
1 Parent(s): 0209126

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,5 +1,8 @@
1
  import gradio as gr
2
  import requests
 
 
 
3
 
4
  API_URL = "https://api-inference.huggingface.co/models/tscholak/cxmefzzi"
5
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
 
1
  import gradio as gr
2
  import requests
3
+ import os
4
+
5
+ API_TOKEN = os.environ['API_TOKEN'])
6
 
7
  API_URL = "https://api-inference.huggingface.co/models/tscholak/cxmefzzi"
8
  headers = {"Authorization": f"Bearer {API_TOKEN}"}