Skip to content

Commit

Permalink
made changes in imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul-s-007 committed Mar 3, 2023
1 parent 68a86c1 commit 4959e5f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import openai

import os
from dotenv import load_dotenv
load_dotenv()

# import os
# from dotenv import load_dotenv
# load_dotenv()
# openai.api_key = os.getenv("OPENAI_API_KEY")

import streamlit as st
from streamlit_ace import st_ace

openai.api_key = st.secrets["OPENAI_API_KEY"]

def check_if_not_null(query):
Expand Down Expand Up @@ -74,9 +77,6 @@ def convert_lang_func(query,to_lang):

# ---------------------------------------------------------------------------------------------

import streamlit as st
from streamlit_ace import st_ace

st.set_page_config(page_icon=":computer:", layout = "wide")

# #238636
Expand Down

0 comments on commit 4959e5f

Please sign in to comment.