salomonsky
commited on
Commit
•
3373fee
1
Parent(s):
6d736d7
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,10 @@ from translatepy import Translator
|
|
9 |
import requests
|
10 |
import re
|
11 |
import asyncio
|
|
|
12 |
|
13 |
-
|
|
|
14 |
|
15 |
translator = Translator()
|
16 |
basemodel = "black-forest-labs/FLUX.1-dev"
|
|
|
9 |
import requests
|
10 |
import re
|
11 |
import asyncio
|
12 |
+
from gradio_imageslider import ImageSlider
|
13 |
|
14 |
+
hf_tkn = os.environ.get("HF_TKN")
|
15 |
+
login(hf_tkn)
|
16 |
|
17 |
translator = Translator()
|
18 |
basemodel = "black-forest-labs/FLUX.1-dev"
|