bramw commited on
Commit
ce05abf
·
1 Parent(s): 470d781

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -9
app.py CHANGED
@@ -94,7 +94,7 @@ for dog_i in [1, 2]:
94
  examples.append([f'square_ims/imagenet_dog_{dog_i}.jpg', 'A dog', f'A {breed}', 0.8, 3])
95
 
96
 
97
- description = 'A gradio demo for [EDICT](https://arxiv.org/abs/2211.12446) (CVPR23)'
98
  # description = gr.Markdown(description)
99
 
100
  article = """
@@ -123,14 +123,7 @@ the huggingface logo or variations), but we need to keep it in for obvious reaso
123
  """
124
  # article = gr.Markdown(description)
125
 
126
- iface = gr.Interface(fn=edict, inputs=["image",
127
- gr.Textbox(label="Original Description"),
128
- gr.Textbox(label="Edit Description"),
129
- # 50, # gr.Slider(5, 50, value=20, step=1),
130
- # 0.93, # gr.Slider(0.5, 1, value=0.7, step=0.05),
131
- gr.Slider(0.0, 1, value=0.8, step=0.05),
132
- gr.Slider(0, 10, value=3, step=0.5),
133
- ],
134
  examples = examples,
135
  outputs="image",
136
  description=description,
 
94
  examples.append([f'square_ims/imagenet_dog_{dog_i}.jpg', 'A dog', f'A {breed}', 0.8, 3])
95
 
96
 
97
+ description = '*This demo is temporarily suspended for internal reasons* \nA gradio demo for [EDICT](https://arxiv.org/abs/2211.12446) (CVPR23)'
98
  # description = gr.Markdown(description)
99
 
100
  article = """
 
123
  """
124
  # article = gr.Markdown(description)
125
 
126
+ iface = gr.Interface(
 
 
 
 
 
 
 
127
  examples = examples,
128
  outputs="image",
129
  description=description,