Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -4,5 +4,7 @@ from fastcore.all import * | |
| 4 | 
             
            def greet(name):
         | 
| 5 | 
             
                return f'{Path().ls()} {os.getcwd()}'
         | 
| 6 |  | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
|  | |
|  | 
|  | |
| 4 | 
             
            def greet(name):
         | 
| 5 | 
             
                return f'{Path().ls()} {os.getcwd()}'
         | 
| 6 |  | 
| 7 | 
            +
            @call_parse
         | 
| 8 | 
            +
            def main():
         | 
| 9 | 
            +
                iface = gr.Interface(fn=greet, inputs="text", outputs="text")
         | 
| 10 | 
            +
                iface.launch()
         | 
