Ritori commited on
Commit
d7bcd6e
1 Parent(s): 905c47b

Update baby_llama2.py

Browse files
Files changed (1) hide show
  1. baby_llama2.py +1 -1
baby_llama2.py CHANGED
@@ -22,7 +22,7 @@ def generate_text():
22
  # Translate each sentence and join them back together
23
  translation = '. '.join(translator.translate(sentence) for sentence in sentences)
24
 
25
- return translation
26
 
27
  iface = gr.Interface(
28
  fn=generate_text,
 
22
  # Translate each sentence and join them back together
23
  translation = '. '.join(translator.translate(sentence) for sentence in sentences)
24
 
25
+ return result
26
 
27
  iface = gr.Interface(
28
  fn=generate_text,