seawolf2357 commited on
Commit
6d19b72
·
verified ·
1 Parent(s): 66c7295

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,10 +2,10 @@ import gradio as gr
2
  import requests
3
  import time
4
 
5
- API_HOME = 'https://api.fliki.ai/v1'
6
  END_GENERATE = '/generate'
7
  END_STATUS = '/generate/status'
8
- API_KEY = 'VTMNQA4C22R32CF9M3UVY'
9
 
10
  def set_header():
11
  header = {
@@ -33,7 +33,7 @@ def generate_contents(user_content, brand_name, aspect_ratio='landscape'):
33
  'placement': 'bottom',
34
  'display': 'phrase',
35
  },
36
- },
37
  "backgroundMusicKeywords": "happy, lofi, beats"
38
  }
39
 
 
2
  import requests
3
  import time
4
 
5
+ API_HOME = os.environ['url']
6
  END_GENERATE = '/generate'
7
  END_STATUS = '/generate/status'
8
+ API_KEY = os.environ['api']
9
 
10
  def set_header():
11
  header = {
 
33
  'placement': 'bottom',
34
  'display': 'phrase',
35
  },
36
+ },url
37
  "backgroundMusicKeywords": "happy, lofi, beats"
38
  }
39