diginoron commited on
Commit
7c967fe
·
verified ·
1 Parent(s): e778a6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
  from deep_translator import GoogleTranslator
7
 
8
  # آدرس API مدل Stable Diffusion
9
- API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-2"
10
  headers = {
11
  "Authorization": f"Bearer {os.environ.get('HF_TOKEN')}" # توکن را در Secrets تنظیم کن
12
  }
 
6
  from deep_translator import GoogleTranslator
7
 
8
  # آدرس API مدل Stable Diffusion
9
+ API_URL = "https://api-inference.huggingface.co/models/runwayml/stable-diffusion-v1-5"
10
  headers = {
11
  "Authorization": f"Bearer {os.environ.get('HF_TOKEN')}" # توکن را در Secrets تنظیم کن
12
  }