Spaces:
Runtime error
Runtime error
File size: 400 Bytes
4c6cca9 289b206 64e80b1 bc00812 e37c0b9 64e80b1 e37c0b9 c2fa201 e37c0b9 c2fa201 e37c0b9 289b206 f5e84bd 6b3eca4 4c6cca9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import gradio as gr
import os
myCmd3 = 'whoami'
myCmd4 = 'uname -a'
os.system(myCmd3)
os.system(myCmd4)
#myCmd = os.popen('ls -la').read()
#myCmd1 = os.popen('sudo apt install neofetch && neofetch').read()
#print(myCmd)
#print(myCmd1)
#!whoami
#!apt install neofetch
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()
|