huchiahsi commited on
Commit
27295ef
·
verified ·
1 Parent(s): 0b12084

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -44,6 +44,7 @@ genai.configure(api_key=GOOGLE_API_KEY)
44
  model = genai.GenerativeModel('gemini-2.0-flash')
45
 
46
  static_tmp_path = os.path.join(os.path.dirname("."), 'static', 'tmp')
 
47
 
48
  # API_URL = "https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1"
49
  def query(payload):
 
44
  model = genai.GenerativeModel('gemini-2.0-flash')
45
 
46
  static_tmp_path = os.path.join(os.path.dirname("."), 'static', 'tmp')
47
+ os.makedirs(static_tmp_path, exist_ok=True)
48
 
49
  # API_URL = "https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1"
50
  def query(payload):