abidlabs HF Staff commited on
Commit
d6e5163
·
verified ·
1 Parent(s): e5c57a6

Upload flow.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. flow.py +15 -0
flow.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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(["San Francisco", "New York", "Chicago", "Los Angeles", "Boston"], allow_custom_value=True),
10
+ gr.Dropdown(["board games", "cooking", "hiking", "reading", "writing"], allow_custom_value=True),
11
+ ],
12
+ )
13
+
14
+ if __name__ == "__main__":
15
+ flow.launch()