Spaces:
Running on Zero
Running on Zero
init update
Browse files
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.
|