bstraehle commited on
Commit
7d51c10
1 Parent(s): 031211a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -3,7 +3,9 @@ import os, time
3
  from openai import OpenAI
4
 
5
  def show_json(obj):
6
- display(json.loads(obj.model_dump_json()))
 
 
7
 
8
  def chat(message, history):
9
  client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
 
3
  from openai import OpenAI
4
 
5
  def show_json(obj):
6
+ print("###")
7
+ print(json.loads(obj.model_dump_json()))
8
+ print("###")
9
 
10
  def chat(message, history):
11
  client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))