Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
def fx(x:str):
|
3 |
return '欢迎浏览:'+x
|
4 |
-
demo=gr.
|
5 |
with demo:
|
6 |
gr.Dataframe(headers=['项目','数据'],interactive=True)
|
7 |
text_input=gr.Textbox(placeholder='请输入测试字符串',label="请输入测试内容")
|
|
|
1 |
import gradio as gr
|
2 |
def fx(x:str):
|
3 |
return '欢迎浏览:'+x
|
4 |
+
demo=gr.Blocks()
|
5 |
with demo:
|
6 |
gr.Dataframe(headers=['项目','数据'],interactive=True)
|
7 |
text_input=gr.Textbox(placeholder='请输入测试字符串',label="请输入测试内容")
|