Spaces:
Runtime error
Runtime error
import gradio as gr | |
import transformers | |
def get_version(): | |
return f'transformers version: {transformers.__version__}' | |
iface = gr.Interface(fn=get_version, outputs="text") | |
iface.launch() | |