Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
def fx(x):
|
3 |
return "你好:"+x
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
def fx(x):
|
3 |
return "你好:"+x
|
4 |
+
|
5 |
+
title = "测试WEB APP"
|
6 |
+
description = """
|
7 |
+
<center>
|
8 |
+
执一以为天下式!
|
9 |
+
<img src="https://pbihub.cn/uploads/images/201809/23/44/n6xk1x6UnN.gif" width=380px>
|
10 |
+
</center>
|
11 |
+
"""
|
12 |
+
article = "加入 [组团吹水](https://qm.qq.com/cgi-bin/qm/qr?k=ueJ_sPuOGHOlzSsUC5lVTBdKpQP-PXbO&jump_from=webapi),你不来我不老!"
|
13 |
+
|
14 |
+
gr.Interface(fn=fx,inputs="text",outputs="text",title = title, description = description, article = article).launch()
|