nbroad HF staff commited on
Commit
af8cfd6
1 Parent(s): 5ca5e6d

debug get_logs

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -17,8 +17,8 @@ app = FastAPI()
17
 
18
  # Configuration
19
  models = [
20
- "meta-llama/Meta-Llama-3.1-8B-Instruct",
21
- "meta-llama/Meta-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,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()