Spaces:
Runtime error
Runtime error
Update main.py
Browse files
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):
|