Spaces:
Running
Running
Xeraphinite
commited on
Commit
•
335e5d5
1
Parent(s):
84a532b
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import openai
|
3 |
import os
|
4 |
|
5 |
-
def predict(education_level, annual_income, employment_status, course_name,
|
6 |
# 0. preparation
|
7 |
os.environ['OPENAI_API_KEY'] = openai_api_key
|
8 |
openai.api_key = openai_api_key
|
|
|
2 |
import openai
|
3 |
import os
|
4 |
|
5 |
+
def predict(education_level, annual_income, employment_status, course_name, openai_api_key):
|
6 |
# 0. preparation
|
7 |
os.environ['OPENAI_API_KEY'] = openai_api_key
|
8 |
openai.api_key = openai_api_key
|