bstraehle commited on
Commit
fc5d92b
·
verified ·
1 Parent(s): a92c577

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -69,17 +69,17 @@ def invoke(openai_api_key, prompt, agent_option):
69
  finally:
70
  end_time_ms = round(time.time() * 1000)
71
 
72
- #trace_wandb(
73
- # config,
74
- # agent_option,
75
- # prompt,
76
- # completion,
77
- # result,
78
- # callback,
79
- # err_msg,
80
- # start_time_ms,
81
- # end_time_ms
82
- #)
83
 
84
  return result
85
 
 
69
  finally:
70
  end_time_ms = round(time.time() * 1000)
71
 
72
+ trace_wandb(
73
+ config,
74
+ agent_option,
75
+ prompt,
76
+ completion,
77
+ result,
78
+ callback,
79
+ err_msg,
80
+ start_time_ms,
81
+ end_time_ms
82
+ )
83
 
84
  return result
85