Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,8 @@
|
|
1 |
import gspread
|
2 |
import gradio as gr
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
return f"Hello, {name}!"
|
7 |
|
8 |
-
|
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()
|
|
|
|