GabrielVillareral commited on
Commit
b486131
·
verified ·
1 Parent(s): c3f147c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ if text1:
58
 
59
 
60
  if text2:
61
- text_translate = translator(text2)
62
 
63
  prompt = f"""
64
  From this information, infer two possible conclusions explained in a way that a 10-year-old child can understand.\n
 
58
 
59
 
60
  if text2:
61
+ text_translate = translator(text2)[0]['translation_text']
62
 
63
  prompt = f"""
64
  From this information, infer two possible conclusions explained in a way that a 10-year-old child can understand.\n