Spaces:
Sleeping
Sleeping
import gradio as gr | |
import json | |
from io import StringIO | |
import os | |
def getDataFromGrasshopper( | |
inputJson | |
): | |
if inputJson is not None: | |
return str(inputJson) | |
return "" | |
demo = gr.Interface(fn=getDataFromGrasshopper, inputs="", outputs="") | |
demo.launch() | |