ddiddu commited on
Commit
a897bdb
·
verified ·
1 Parent(s): 09c6980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,7 +4,8 @@ import openai
4
  import gradio as gr
5
  import os
6
 
7
- os.environ["OPENAI_API_KEY"] = "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" # Replace with your key
 
8
  llm = ChatOpenAI(temperature=1.0, model='gpt-3.5-turbo-0613')
9
 
10
  question_json = {
@@ -298,7 +299,7 @@ with gr.Blocks(theme='gradio/soft', fill_height=True) as demo:
298
  """
299
  <img src="http://jisulog.kim/profile.png" alt="Profile Image" style="width: 200px; height: auto; border-radius: 50%;">
300
 
301
- # 😊 Hi Hi Hawaii, I am Jisu Kim!
302
 
303
  I am an MS candidate in the **Interactive Computing** at 🐝**Georgia Tech**. I am advised by [**Ashok Goel**](https://dilab.gatech.edu/ashok-k-goel/) and [**Richmond Wong**](https://richmondywong.com/), and was previously advised by [**Juho Kim**](https://juhokim.com/) at 🪿**KAIST**.
304
 
 
4
  import gradio as gr
5
  import os
6
 
7
+ # os.environ["OPENAI_API_KEY"] = "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"
8
+ os.environ["OPENAI_API_KEY"] = os.getenv('OPENAI_API_KEY')
9
  llm = ChatOpenAI(temperature=1.0, model='gpt-3.5-turbo-0613')
10
 
11
  question_json = {
 
299
  """
300
  <img src="http://jisulog.kim/profile.png" alt="Profile Image" style="width: 200px; height: auto; border-radius: 50%;">
301
 
302
+ # 😊 Hi, I am Jisu Kim!
303
 
304
  I am an MS candidate in the **Interactive Computing** at 🐝**Georgia Tech**. I am advised by [**Ashok Goel**](https://dilab.gatech.edu/ashok-k-goel/) and [**Richmond Wong**](https://richmondywong.com/), and was previously advised by [**Juho Kim**](https://juhokim.com/) at 🪿**KAIST**.
305