mfahadkhan commited on
Commit
62797fa
·
verified ·
1 Parent(s): 339cefc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -2,8 +2,7 @@ import gradio as gr
2
  from pypdf import PdfReader
3
  from openai import OpenAI
4
 
5
- # Initialize OpenAI API (replace with your actual API key)
6
- api_key = "API_KEY"
7
  base_url = "https://api.aimlapi.com/v1"
8
  api = OpenAI(api_key=api_key, base_url=base_url)
9
 
 
2
  from pypdf import PdfReader
3
  from openai import OpenAI
4
 
5
+ api_key = API_KEY
 
6
  base_url = "https://api.aimlapi.com/v1"
7
  api = OpenAI(api_key=api_key, base_url=base_url)
8