Spaces:
Runtime error
Runtime error
import gradio as gr | |
from huggingface_hub import HfApi | |
from substra_launcher import launch_substra_space | |
api = HfApi() | |
gr.Interface( | |
fn=lambda *args, **kwargs: launch_substra_space(api, *args, **kwargs), | |
inputs="text", | |
outputs="text", | |
examples=[["NimaBoscarino/substra-test"]] | |
).launch() | |