File size: 217 Bytes
07822c0
9bed878
07822c0
 
9bed878
07822c0
c637d22
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr
from fastcore.all import *

def greet(name):
    return f'{Path().ls()} {os.getcwd()}'

@call_parse
def main():
    iface = gr.Interface(fn=greet, inputs="text", outputs="text")
    iface.launch()