changxin commited on
Commit
ea4236c
·
1 Parent(s): 2f40c44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -24,10 +24,6 @@ ht_text='''
24
  <iframe width="800" height="800" frameborder="0" scrolling="no" src="https://dyrscomcn-my.sharepoint.com/personal/huangcaiguang_dyrs_com_cn/_layouts/15/Doc.aspx?sourcedoc={6d3da844-5b54-473b-a32a-08659600d015}&action=embedview&AllowTyping=True&ActiveCell='业绩'!A1&wdInConfigurator=True&wdInConfigurator=True&edesNext=false&ejss=false"></iframe>
25
  '''
26
 
27
- lksheet='''
28
- <iframe src="https://huggingface.co/spaces/changxin/Luckysheet" frameBorder=0 style="width:100%;height::100%;"></iframe>
29
- '''
30
-
31
  demo = gr.Blocks()
32
 
33
  def fx1(x):
@@ -113,8 +109,6 @@ with demo:
113
  qy_input=[gr.Image(label="待转换图片",type="filepath"),gr.Image(label="风格图片",type="filepath")]
114
  qy_output=gr.Image(type="auto", label="输出")
115
  qy_button = gr.Button("开始迁移>>")
116
- with gr.TabItem("Luckysheet测试"):
117
- gr.HTML(value=lksheet,label="Lucksheet",show_label=True)
118
 
119
  tj_button.click(fx1, inputs=text_input, outputs=text_output)
120
  cs_button.click(fx2, inputs=val_input, outputs=json_output,api_name="ghqj")
 
24
  <iframe width="800" height="800" frameborder="0" scrolling="no" src="https://dyrscomcn-my.sharepoint.com/personal/huangcaiguang_dyrs_com_cn/_layouts/15/Doc.aspx?sourcedoc={6d3da844-5b54-473b-a32a-08659600d015}&action=embedview&AllowTyping=True&ActiveCell='业绩'!A1&wdInConfigurator=True&wdInConfigurator=True&edesNext=false&ejss=false"></iframe>
25
  '''
26
 
 
 
 
 
27
  demo = gr.Blocks()
28
 
29
  def fx1(x):
 
109
  qy_input=[gr.Image(label="待转换图片",type="filepath"),gr.Image(label="风格图片",type="filepath")]
110
  qy_output=gr.Image(type="auto", label="输出")
111
  qy_button = gr.Button("开始迁移>>")
 
 
112
 
113
  tj_button.click(fx1, inputs=text_input, outputs=text_output)
114
  cs_button.click(fx2, inputs=val_input, outputs=json_output,api_name="ghqj")