Karthikeyan commited on
Commit
ae12c95
1 Parent(s): ccd5c75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  class QuestionsGenarator:
2
  def __init__(self):
3
  openai.api_key = os.getenv("OPENAI_API_KEY")
@@ -84,5 +90,5 @@ class QuestionsGenarator:
84
 
85
  app.launch()
86
 
87
- resume=QuestionsGenarator()
88
- resume.gradio_interface()
 
1
+ import openai
2
+ import gradio as gr
3
+ import PyPDF2
4
+ import os
5
+ import docx
6
+
7
  class QuestionsGenarator:
8
  def __init__(self):
9
  openai.api_key = os.getenv("OPENAI_API_KEY")
 
90
 
91
  app.launch()
92
 
93
+ resume=QuestionsGenarator()
94
+ resume.gradio_interface()