vilarin commited on
Commit
7e5411b
·
verified ·
1 Parent(s): 55f0ba3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ sys_prompt = read('system_prompt.txt')
21
 
22
  def process_text(text_input, unit):
23
  if text_input:
24
- completion = client.chat.completions.create(
25
  model=MODEL,
26
  messages=[
27
  {"role": "system", "content": f" You are a helpful {unit} doctor." + sys_prompt},
 
21
 
22
  def process_text(text_input, unit):
23
  if text_input:
24
+ response = client.chat.completions.create(
25
  model=MODEL,
26
  messages=[
27
  {"role": "system", "content": f" You are a helpful {unit} doctor." + sys_prompt},