thamada commited on
Commit
ca37406
1 Parent(s): 26708c3

Update hello.py

Browse files
Files changed (1) hide show
  1. hello.py +13 -1
hello.py CHANGED
@@ -1,2 +1,14 @@
1
- print ("hello")
 
 
 
 
 
 
 
 
 
 
 
 
2
 
 
1
+ import gspread
2
+ import gradio as gr
3
+
4
+ # Define a function that takes an input and returns some output
5
+ def greet(name):
6
+ return f"Hello, {name}!"
7
+
8
+ # Create an interface for the function
9
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text", title="Greeting App")
10
+
11
+ # Launch the interface
12
+ iface.launch()
13
+
14