yingzhac commited on
Commit
845f960
·
1 Parent(s): 7b692ae

去除多余的黑框样式 - 改为普通文字显示

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -310,9 +310,9 @@ with gr.Blocks(css=css, title="智能文字缩放工具") as demo:
310
  🚀 **使用AI技术智能调整图片中的文字大小**
311
 
312
  📝 支持自然语言指令,如:
313
- - `enlarge 'Hello' by 50%` - 将'Hello'放大50%
314
- - `make the title bigger` - 让标题变大
315
- - `shrink the footer text` - 缩小页脚文字
316
 
317
  🎯 **使用方法**:
318
  1. 上传包含文字的图片
@@ -341,7 +341,7 @@ with gr.Blocks(css=css, title="智能文字缩放工具") as demo:
341
  label="文字调整指令",
342
  placeholder="例如: enlarge 'Hello' by 50%",
343
  lines=2,
344
- info="支持自然语言描述,如 'make XX bigger''enlarge XX by 50%'"
345
  )
346
 
347
  # OCR info button
@@ -408,13 +408,13 @@ with gr.Blocks(css=css, title="智能文字缩放工具") as demo:
408
  **示例指令格式:**
409
 
410
  🔍 **指定文字 + 具体比例:**
411
- - `enlarge 'Hello' by 50%` - 将'Hello'放大50%
412
- - `shrink 'Title' by 30%` - 将'Title'缩小30%
413
 
414
  🎯 **自然语言描述:**
415
- - `make the title bigger` - 让标题变大
416
- - `make the text smaller` - 让文字变小
417
- - `enlarge the heading` - 放大标题
418
 
419
  💡 **使用提示:**
420
  1. 上传包含文字的图片
 
310
  🚀 **使用AI技术智能调整图片中的文字大小**
311
 
312
  📝 支持自然语言指令,如:
313
+ - enlarge 'Hello' by 50% - 将'Hello'放大50%
314
+ - make the title bigger - 让标题变大
315
+ - shrink the footer text - 缩小页脚文字
316
 
317
  🎯 **使用方法**:
318
  1. 上传包含文字的图片
 
341
  label="文字调整指令",
342
  placeholder="例如: enlarge 'Hello' by 50%",
343
  lines=2,
344
+ info="支持自然语言描述,如 make XX bigger 或 enlarge XX by 50%"
345
  )
346
 
347
  # OCR info button
 
408
  **示例指令格式:**
409
 
410
  🔍 **指定文字 + 具体比例:**
411
+ - enlarge 'Hello' by 50% - 将'Hello'放大50%
412
+ - shrink 'Title' by 30% - 将'Title'缩小30%
413
 
414
  🎯 **自然语言描述:**
415
+ - make the title bigger - 让标题变大
416
+ - make the text smaller - 让文字变小
417
+ - enlarge the heading - 放大标题
418
 
419
  💡 **使用提示:**
420
  1. 上传包含文字的图片