Spaces:
Runtime error
Runtime error
| import torch | |
| import gradio as gr | |
| a = torch.IntTensor([1, 2, 3]) | |
| b = torch.IntTensor([4, 5, 6]) | |
| m = a * b | |
| print(m.numpy()) | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() | |