shivanis14
commited on
Commit
•
7ea92da
1
Parent(s):
a742c64
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from openai import OpenAI
|
3 |
import json, os
|
4 |
-
import requests
|
5 |
|
6 |
#Used the @st.cache_resource decorator on this function.
|
7 |
#This Streamlit decorator ensures that the function is only executed once and its result (the OpenAI client) is cached.
|
|
|
1 |
import streamlit as st
|
2 |
from openai import OpenAI
|
3 |
import json, os
|
4 |
+
import requests, time
|
5 |
|
6 |
#Used the @st.cache_resource decorator on this function.
|
7 |
#This Streamlit decorator ensures that the function is only executed once and its result (the OpenAI client) is cached.
|