awacke1 commited on
Commit
98b31df
1 Parent(s): 7a4e92d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,11 +9,11 @@ from moviepy.editor import VideoFileClip
9
  # Set API key and organization ID from environment variables
10
  openai.api_key = os.getenv('OPENAI_API_KEY')
11
  openai.organization = os.getenv('OPENAI_ORG_ID')
12
- client = OpenAI(api_key= os.getenv('OPENAI_API_KEY'))
13
 
14
  # Define the model to be used
15
- MODEL = "gpt-4o"
16
- #MODEL = "gpt-4o-2024-05-13"
17
 
18
  def process_text():
19
  text_input = st.text_input("Enter your text:")
 
9
  # Set API key and organization ID from environment variables
10
  openai.api_key = os.getenv('OPENAI_API_KEY')
11
  openai.organization = os.getenv('OPENAI_ORG_ID')
12
+ client = OpenAI(api_key= os.getenv('OPENAI_API_KEY'), organization=os.getenv('OPENAI_ORG_ID'))
13
 
14
  # Define the model to be used
15
+ #MODEL = "gpt-4o"
16
+ MODEL = "gpt-4o-2024-05-13"
17
 
18
  def process_text():
19
  text_input = st.text_input("Enter your text:")