Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ client = AzureOpenAI(
|
|
11 |
api_key=os.getenv("API"),
|
12 |
api_version="2023-07-01-preview",
|
13 |
azure_endpoint=os.getenv("URL"),
|
14 |
-
azure_deployment = "
|
15 |
)
|
16 |
def extract_text( pdf_path):
|
17 |
# creating a pdf reader object
|
|
|
11 |
api_key=os.getenv("API"),
|
12 |
api_version="2023-07-01-preview",
|
13 |
azure_endpoint=os.getenv("URL"),
|
14 |
+
azure_deployment = "GPT-4o"
|
15 |
)
|
16 |
def extract_text( pdf_path):
|
17 |
# creating a pdf reader object
|