Update app.py
Browse files
app.py
CHANGED
|
@@ -73,8 +73,8 @@ def fx_dt(dc,x,y):
|
|
| 73 |
demo=gr.Blocks(css="#jsc:hover{background-color: red;}")
|
| 74 |
with demo:
|
| 75 |
with gr.Tabs(selected=5):
|
| 76 |
-
with gr.TabItem("测试1"):
|
| 77 |
'''
|
|
|
|
| 78 |
with gr.Column():
|
| 79 |
text_input=gr.Textbox(placeholder='请输入测试字符串',label="请输入需要MD5加密的测试内容")
|
| 80 |
text_output=gr.Textbox(label="输出",visible=False)
|
|
@@ -86,6 +86,7 @@ with demo:
|
|
| 86 |
TTS_input=gr.Textbox(label="输入文本")
|
| 87 |
TTS_button=gr.Button("合成")
|
| 88 |
TTS_button.click(inference, inputs=TTS_input, outputs=gr.Audio(label="输出合成结果"),api_name='tts')'''
|
|
|
|
| 89 |
with gr.TabItem("M-Formatter"):
|
| 90 |
gr.Markdown("# PowerQuery M语言脚本格式化测试")
|
| 91 |
M_input=gr.Textbox(label="请填写需要格式化的M脚本",lines=18)
|
|
|
|
| 73 |
demo=gr.Blocks(css="#jsc:hover{background-color: red;}")
|
| 74 |
with demo:
|
| 75 |
with gr.Tabs(selected=5):
|
|
|
|
| 76 |
'''
|
| 77 |
+
with gr.TabItem("测试1"):
|
| 78 |
with gr.Column():
|
| 79 |
text_input=gr.Textbox(placeholder='请输入测试字符串',label="请输入需要MD5加密的测试内容")
|
| 80 |
text_output=gr.Textbox(label="输出",visible=False)
|
|
|
|
| 86 |
TTS_input=gr.Textbox(label="输入文本")
|
| 87 |
TTS_button=gr.Button("合成")
|
| 88 |
TTS_button.click(inference, inputs=TTS_input, outputs=gr.Audio(label="输出合成结果"),api_name='tts')'''
|
| 89 |
+
|
| 90 |
with gr.TabItem("M-Formatter"):
|
| 91 |
gr.Markdown("# PowerQuery M语言脚本格式化测试")
|
| 92 |
M_input=gr.Textbox(label="请填写需要格式化的M脚本",lines=18)
|