Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,8 @@ def generate_text(prompt):
|
|
28 |
else:
|
29 |
device = torch.device("cpu")
|
30 |
print("No GPU available")
|
31 |
-
|
|
|
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)
|