Abhlash commited on
Commit
aae12f6
1 Parent(s): eecee13

removed dotenv from app

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -1,14 +1,11 @@
1
  import os
2
  import sys
3
- from dotenv import load_dotenv
4
  import gradio as gr
5
 
6
  # Add the current directory to the Python path
7
  current_dir = os.path.dirname(os.path.abspath(__file__))
8
  sys.path.append(current_dir)
9
 
10
- # Load environment variables from .env file
11
- load_dotenv()
12
 
13
  # Check if GROQ_API_KEY is set
14
  if 'GROQ_API_KEY' not in os.environ:
 
1
  import os
2
  import sys
 
3
  import gradio as gr
4
 
5
  # Add the current directory to the Python path
6
  current_dir = os.path.dirname(os.path.abspath(__file__))
7
  sys.path.append(current_dir)
8
 
 
 
9
 
10
  # Check if GROQ_API_KEY is set
11
  if 'GROQ_API_KEY' not in os.environ: