naykun commited on
Commit
584b08a
·
1 Parent(s): 0ac5b5e

init update

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -11,6 +11,9 @@ import os
11
  import base64
12
  import json
13
 
 
 
 
14
  SYSTEM_PROMPT = '''
15
  # Edit Prompt Enhancer
16
  You are a professional edit prompt enhancer. Your task is to generate a direct and specific edit prompt based on the user-provided instruction and the image input conditions.
 
11
  import base64
12
  import json
13
 
14
+ from huggingface_hub import login
15
+ login(token=os.environ.get('hf'))
16
+
17
  SYSTEM_PROMPT = '''
18
  # Edit Prompt Enhancer
19
  You are a professional edit prompt enhancer. Your task is to generate a direct and specific edit prompt based on the user-provided instruction and the image input conditions.