EduTechTeam commited on
Commit
774113a
·
verified ·
1 Parent(s): e199e78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -2,7 +2,6 @@ import os
2
  import openai
3
  import gradio as gr
4
  from gradio import ChatInterface
5
- from google.colab import userdata
6
 
7
  # 設定 OpenAI API key - 從環境變數獲取
8
  openai.api_key = os.environ['OPENAI_API_KEY']
 
2
  import openai
3
  import gradio as gr
4
  from gradio import ChatInterface
 
5
 
6
  # 設定 OpenAI API key - 從環境變數獲取
7
  openai.api_key = os.environ['OPENAI_API_KEY']