Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,7 @@ import gradio as gr
|
|
2 |
from pypdf import PdfReader
|
3 |
from openai import OpenAI
|
4 |
|
5 |
-
|
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 |
|