openfree commited on
Commit
6fcf6b0
·
verified ·
1 Parent(s): 5035677

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -48,13 +48,6 @@ try:
48
  except Exception as e:
49
  raise ValueError(f"Failed to login to Hugging Face: {str(e)}")
50
 
51
- # FLUX 파이프라인 초기화
52
- pipe = FluxPipeline.from_pretrained(
53
- "black-forest-labs/FLUX.1-dev",
54
- torch_dtype=torch.float16,
55
- use_auth_token=HF_TOKEN
56
- )
57
- pipe.enable_attention_slicing(slice_size="auto")
58
 
59
 
60
  translator = pipeline("translation", model="Helsinki-NLP/opus-mt-ko-en", device=-1) # CPU에서 실행
 
48
  except Exception as e:
49
  raise ValueError(f"Failed to login to Hugging Face: {str(e)}")
50
 
 
 
 
 
 
 
 
51
 
52
 
53
  translator = pipeline("translation", model="Helsinki-NLP/opus-mt-ko-en", device=-1) # CPU에서 실행