File size: 149 Bytes
0c6517e
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import os
import gradio as gr

def print_cwd():
    return os.getcwd()

iface = gr.Interface(fn=print_cwd, inputs=[], outputs="text")
iface.launch()