AnishaG0201 commited on
Commit
5cae0c0
1 Parent(s): 61d2b23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ import streamlit as st
138
  from langchain_community.llms import OpenAI
139
 
140
  # Set your OpenAI API key
141
- openai.api_key = st.secrets["OPENAI_API_KEY"])
142
 
143
  def generate_question(role, topic, difficulty_level):
144
  prompt = f"Generate an interview question for the role of {role} on the topic of {topic} with difficulty level {difficulty_level}."
 
138
  from langchain_community.llms import OpenAI
139
 
140
  # Set your OpenAI API key
141
+ openai.api_key = st.secrets["OPENAI_API_KEY"]
142
 
143
  def generate_question(role, topic, difficulty_level):
144
  prompt = f"Generate an interview question for the role of {role} on the topic of {topic} with difficulty level {difficulty_level}."