Nonin commited on
Commit
948b460
·
verified ·
1 Parent(s): 7071e92

Update app.py

Browse files

try to use secret variable for token

Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -10,8 +10,6 @@ import os
10
 
11
  from Gradio_UI import GradioUI
12
 
13
- HF_TOKEN = os.environ['HF_TOKEN']
14
-
15
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
16
  @tool
17
  def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
 
10
 
11
  from Gradio_UI import GradioUI
12
 
 
 
13
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
14
  @tool
15
  def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type