Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import random
|
|
6 |
import base64
|
7 |
import glob
|
8 |
import math
|
9 |
-
import openai
|
10 |
import pytz
|
11 |
import re
|
12 |
import requests
|
@@ -29,6 +29,19 @@ from xml.etree import ElementTree as ET
|
|
29 |
from PIL import Image
|
30 |
from urllib.parse import quote # Ensure this import is included
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
# 1. Configuration
|
33 |
Site_Name = 'Scholarly-Article-Document-Search-With-Memory'
|
34 |
title="🔬🧠ScienceBrain.AI"
|
@@ -1578,16 +1591,6 @@ st.markdown(personality_factors)
|
|
1578 |
|
1579 |
|
1580 |
|
1581 |
-
|
1582 |
-
|
1583 |
-
import streamlit as st
|
1584 |
-
import openai
|
1585 |
-
from openai import OpenAI
|
1586 |
-
import os
|
1587 |
-
import base64
|
1588 |
-
import cv2
|
1589 |
-
from moviepy.editor import VideoFileClip
|
1590 |
-
|
1591 |
# documentation
|
1592 |
# 1. Cookbook: https://cookbook.openai.com/examples/gpt4o/introduction_to_gpt4o
|
1593 |
# 2. Configure your Project and Orgs to limit/allow Models: https://platform.openai.com/settings/organization/general
|
|
|
6 |
import base64
|
7 |
import glob
|
8 |
import math
|
9 |
+
#import openai
|
10 |
import pytz
|
11 |
import re
|
12 |
import requests
|
|
|
29 |
from PIL import Image
|
30 |
from urllib.parse import quote # Ensure this import is included
|
31 |
|
32 |
+
#grundle-gpt4o
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
import streamlit as st
|
37 |
+
import openai
|
38 |
+
from openai import OpenAI
|
39 |
+
#import os
|
40 |
+
#import base64
|
41 |
+
import cv2
|
42 |
+
from moviepy.editor import VideoFileClip
|
43 |
+
|
44 |
+
|
45 |
# 1. Configuration
|
46 |
Site_Name = 'Scholarly-Article-Document-Search-With-Memory'
|
47 |
title="🔬🧠ScienceBrain.AI"
|
|
|
1591 |
|
1592 |
|
1593 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1594 |
# documentation
|
1595 |
# 1. Cookbook: https://cookbook.openai.com/examples/gpt4o/introduction_to_gpt4o
|
1596 |
# 2. Configure your Project and Orgs to limit/allow Models: https://platform.openai.com/settings/organization/general
|