Jekaterina commited on
Commit
9979183
·
verified ·
1 Parent(s): 4ffc200

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -11,6 +11,9 @@ from tools.text_to_image import TextToImageTool
11
 
12
  from Gradio_UI import GradioUI
13
 
 
 
 
14
  '''
15
  # Below is an example of a tool that does nothing.
16
  @tool
 
11
 
12
  from Gradio_UI import GradioUI
13
 
14
+ from huggingface_hub import login
15
+ login(token = os.getenv("HF_API_KEY"))
16
+
17
  '''
18
  # Below is an example of a tool that does nothing.
19
  @tool