wishmi1234 commited on
Commit
efc26d6
·
verified ·
1 Parent(s): f61a1f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  # Step 3: Integrate the Tool with Alfred
2
  # Finally, let’s bring everything together by creating our agent and equipping it with our custom tool:
3
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ demo.launch()
8
+
9
+
10
+
11
  # Step 3: Integrate the Tool with Alfred
12
  # Finally, let’s bring everything together by creating our agent and equipping it with our custom tool:
13