salomonsky commited on
Commit
68f7a9b
·
1 Parent(s): a56b407

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -15,11 +15,8 @@ def generate_output(name, horoscope_type, birth_date):
15
  max_tokens=180,
16
  temperature=0.6,
17
  n=1,
18
- stop=None,
19
- )
20
  gpt3_output = response.choices[0].text.strip()
21
-
22
- # Personaliza la respuesta del chatbot
23
  personalized_response = f"Tu horóscopo {name} nacido el {birth_date} es: {gpt3_output}"
24
 
25
  if len(response.choices) == 0 or 'text' not in response.choices[0]:
 
15
  max_tokens=180,
16
  temperature=0.6,
17
  n=1,
18
+ stop=None,)
 
19
  gpt3_output = response.choices[0].text.strip()
 
 
20
  personalized_response = f"Tu horóscopo {name} nacido el {birth_date} es: {gpt3_output}"
21
 
22
  if len(response.choices) == 0 or 'text' not in response.choices[0]: