hysts HF staff commited on
Commit
8d3fe6c
1 Parent(s): ae149aa
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +1 -1
  3. requirements.txt +1 -0
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 😻
4
  colorFrom: purple
5
  colorTo: red
6
  sdk: gradio
7
- sdk_version: 4.19.2
8
  app_file: app.py
9
  pinned: false
10
  suggested_hardware: t4-small
 
4
  colorFrom: purple
5
  colorTo: red
6
  sdk: gradio
7
+ sdk_version: 4.20.0
8
  app_file: app.py
9
  pinned: false
10
  suggested_hardware: t4-small
app.py CHANGED
@@ -102,7 +102,7 @@ with gr.Blocks(css="style.css") as demo:
102
  with gr.Column():
103
  style_type = gr.Radio(label="Style Type", choices=model.style_types, value=model.style_types[0])
104
  text = get_style_image_markdown_text("cartoon")
105
- style_image = gr.Markdown(value=text)
106
  style_index = gr.Slider(label="Style Image Index", minimum=0, maximum=316, step=1, value=26)
107
 
108
  with gr.Row():
 
102
  with gr.Column():
103
  style_type = gr.Radio(label="Style Type", choices=model.style_types, value=model.style_types[0])
104
  text = get_style_image_markdown_text("cartoon")
105
+ style_image = gr.Markdown(value=text, latex_delimiters=[])
106
  style_index = gr.Slider(label="Style Image Index", minimum=0, maximum=316, step=1, value=26)
107
 
108
  with gr.Row():
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
  dlib==19.24.2
 
2
  numpy==1.23.5
3
  opencv-python-headless==4.9.0.80
4
  Pillow==10.2.0
 
1
  dlib==19.24.2
2
+ gradio==4.20.0
3
  numpy==1.23.5
4
  opencv-python-headless==4.9.0.80
5
  Pillow==10.2.0