Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| import os | |
| def temp(input_1): | |
| return "Hey" | |
| print(f"System: {os.getenv('SYSTEM')}") | |
| iface = gr.Interface(fn=temp, inputs="sketchpad", outputs="textbox") | |
| print(f"You are in the spaces: {iface.is_space}") | |
| iface.launch(debug=True, share=True) | |