abidlabs HF Staff commited on
Commit
ae3d8c2
·
verified ·
1 Parent(s): b9e5784

Upload flow.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. flow.py +21 -0
flow.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ import groovy as gv
4
+
5
+ flow = gv.Flow(
6
+ # task="Find me some events in San Francisco related to board games using Meetup.",
7
+ task="Find me some events in {} related to {} using Meetup.",
8
+ inputs=[
9
+ gr.Dropdown(
10
+ ["San Francisco", "New York", "Chicago", "Los Angeles", "Boston"],
11
+ allow_custom_value=True,
12
+ ),
13
+ gr.Dropdown(
14
+ ["board games", "cooking", "hiking", "reading", "writing"],
15
+ allow_custom_value=True,
16
+ ),
17
+ ],
18
+ )
19
+
20
+ if __name__ == "__main__":
21
+ flow.launch()