Spaces:
Build error
Build error
File size: 245 Bytes
90ada29 b832def 90ada29 b832def 90ada29 b832def 90ada29 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# In Colab
code = '''
import gradio as gr
def greet(name):
return "Hello " + name + "!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()
'''
# Save it as app.py
with open("app.py", "w") as f:
f.write(code)
|