Update app.py
Browse files
app.py
CHANGED
|
@@ -27,4 +27,5 @@ iface = gr.Interface(
|
|
| 27 |
)
|
| 28 |
|
| 29 |
# 啟動 Gradio 接口並啟用 API
|
| 30 |
-
iface.
|
|
|
|
|
|
| 27 |
)
|
| 28 |
|
| 29 |
# 啟動 Gradio 接口並啟用 API
|
| 30 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 31 |
+
iface.launch()
|