Spaces:
Sleeping
Sleeping
debug get_logs
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ app = FastAPI()
|
|
17 |
|
18 |
# Configuration
|
19 |
models = [
|
20 |
-
"meta-llama/
|
21 |
-
"meta-llama/
|
22 |
"meta-llama/Meta-Llama-3-8B-Instruct",
|
23 |
"meta-llama/Meta-Llama-3-70B-Instruct",
|
24 |
"meta-llama/Llama-Guard-3-8B",
|
@@ -160,6 +160,8 @@ async def get_logs(
|
|
160 |
|
161 |
query += " ORDER BY timestamp DESC LIMIT 100"
|
162 |
|
|
|
|
|
163 |
cursor.execute(query, params)
|
164 |
logs = cursor.fetchall()
|
165 |
conn.close()
|
|
|
17 |
|
18 |
# Configuration
|
19 |
models = [
|
20 |
+
"meta-llama/Llama-3.1-8B-Instruct",
|
21 |
+
"meta-llama/Llama-3.1-70B-Instruct",
|
22 |
"meta-llama/Meta-Llama-3-8B-Instruct",
|
23 |
"meta-llama/Meta-Llama-3-70B-Instruct",
|
24 |
"meta-llama/Llama-Guard-3-8B",
|
|
|
160 |
|
161 |
query += " ORDER BY timestamp DESC LIMIT 100"
|
162 |
|
163 |
+
print(query, params)
|
164 |
+
|
165 |
cursor.execute(query, params)
|
166 |
logs = cursor.fetchall()
|
167 |
conn.close()
|