bramw commited on
Commit
fdb1186
1 Parent(s): e6d1b4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -97,7 +97,7 @@ for dog_i in [1, 2]:
97
  examples.append([f'square_ims/imagenet_dog_{dog_i}.jpg', 'A dog', f'A {breed}', 0.8, 3])
98
 
99
 
100
- description = '*This demo is temporarily suspended for internal reasons* \nA gradio demo for [EDICT](https://arxiv.org/abs/2211.12446) (CVPR23)'
101
  # description = gr.Markdown(description)
102
 
103
  article = """
@@ -137,11 +137,10 @@ fn=edict, inputs=["image",
137
  """
138
  iface = gr.Interface(fn=f,
139
  inputs=[
140
- gr.Slider(0, 10, value=3, step=0.5)
141
  ],
142
  # examples = examples,
143
  outputs="str",
144
  description=description,
145
- article=article,
146
- cache_examples=False)
147
  iface.launch()
 
97
  examples.append([f'square_ims/imagenet_dog_{dog_i}.jpg', 'A dog', f'A {breed}', 0.8, 3])
98
 
99
 
100
+ description = '*This demo is temporarily suspended for internal reasons* A gradio demo for [EDICT](https://arxiv.org/abs/2211.12446) (CVPR23)'
101
  # description = gr.Markdown(description)
102
 
103
  article = """
 
137
  """
138
  iface = gr.Interface(fn=f,
139
  inputs=[
140
+ 'str'
141
  ],
142
  # examples = examples,
143
  outputs="str",
144
  description=description,
145
+ article=article)
 
146
  iface.launch()