nastasiasnk commited on
Commit
a02e694
·
verified ·
1 Parent(s): 6774ad7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -14
app.py CHANGED
@@ -5,27 +5,16 @@ import os
5
 
6
 
7
 
8
-
9
-
10
  def getDataFromGrasshopper(
11
  inputJson
12
  ):
13
  if inputJson is not None:
14
- return = str(inputJson)
15
  return ""
16
 
17
 
18
- getDataFromGrasshopper ()
19
- print (b)
20
-
21
-
22
-
23
-
24
-
25
 
26
 
27
- def greet(name):
28
- return "Hello " + name + "!!"
29
 
30
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
31
- demo.launch()
 
5
 
6
 
7
 
 
 
8
  def getDataFromGrasshopper(
9
  inputJson
10
  ):
11
  if inputJson is not None:
12
+ return str(inputJson)
13
  return ""
14
 
15
 
16
+ demo = gr.Interface(fn=getDataFromGrasshopper, inputs, outputs)
17
+ demo.launch()
 
 
 
 
 
18
 
19
 
 
 
20