thamada commited on
Commit
76a5ef9
1 Parent(s): 5f401a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -1,14 +1,8 @@
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
-
 
1
  import gspread
2
  import gradio as gr
3
 
4
+ def display_message():
5
+ return "こんにちは"
 
6
 
7
+ iface = gr.Interface(fn=display_message, outputs="text")
 
 
 
8
  iface.launch()