mCodeGPT / app.py
paopaoka3325's picture
add requiretment
c743533
raw
history blame
244 Bytes
import gradio as gr
def greet(name):
with open('./haha.txt', 'w') as f:
f.write(name)
return "=======have you saved " + name + "?"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()