umair894 commited on
Commit
e0223fc
1 Parent(s): 36785a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,7 +1,9 @@
1
  import gradio as gr
2
  import os
3
- #from google.colab import userdata
4
- from base import ResumeScreenerPack as llamapack
 
 
5
 
6
 
7
 
@@ -19,7 +21,7 @@ criteria = [
19
  ]
20
 
21
  # Set OpenAI API key
22
- os.environ['OPENAI_API_KEY'] = #userdata.get('openAI2024')
23
 
24
  # Define the resume screening function
25
  def screen_resume(resume):
 
1
  import gradio as gr
2
  import os
3
+ import llama-index
4
+
5
+
6
+ from resume_screener_pack.llama_index.packs.resume_screener.base import ResumeScreenerPack as llamapack
7
 
8
 
9
 
 
21
  ]
22
 
23
  # Set OpenAI API key
24
+ os.environ['OPENAI_API_KEY'] = os.getenv("openai_key") #userdata.get('openAI2024')
25
 
26
  # Define the resume screening function
27
  def screen_resume(resume):