fede97 commited on
Commit
bfd7448
·
verified ·
1 Parent(s): 2868eeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -28,7 +28,8 @@ def generate_text(prompt):
28
  else:
29
  device = torch.device("cpu")
30
  print("No GPU available")
31
- retutn 'hello world'
 
32
 
33
  #print("***** Generate *****")
34
  #text_generator = pipeline("text-generation", model=model, tokenizer=tokenizer, device=device)
 
28
  else:
29
  device = torch.device("cpu")
30
  print("No GPU available")
31
+ out_text= "hello world"
32
+ return out_text
33
 
34
  #print("***** Generate *****")
35
  #text_generator = pipeline("text-generation", model=model, tokenizer=tokenizer, device=device)