Manamama's picture
Update app.py
bc00812
raw
history blame
400 Bytes
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()