lazyc commited on
Commit
0f24e7f
·
verified ·
1 Parent(s): 7f70c73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -18,12 +18,6 @@ client = OpenAI(
18
  # MODEL NAME
19
  model = os.getenv("MODEL_NAME")
20
 
21
- trace = Langfuse().trace(
22
- name = "dots-demo",
23
- user_id = "rednote-hilab",
24
- release = "v0.0.1"
25
- )
26
-
27
  save_history = True
28
 
29
  # =========== Configuration
@@ -138,7 +132,7 @@ class Gradio_Events:
138
  }
139
  try:
140
  response = client.chat.completions.create(
141
- model=model, # ModelScope Model-Id
142
  messages=history_messages,
143
  stream=True)
144
  thought_done = False
 
18
  # MODEL NAME
19
  model = os.getenv("MODEL_NAME")
20
 
 
 
 
 
 
 
21
  save_history = True
22
 
23
  # =========== Configuration
 
132
  }
133
  try:
134
  response = client.chat.completions.create(
135
+ model=model, # Model-Id
136
  messages=history_messages,
137
  stream=True)
138
  thought_done = False