wilwork commited on
Commit
2241cd5
·
verified ·
1 Parent(s): 14e97b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,8 +66,8 @@ with gr.Blocks() as demo:
66
  compare_btn.click(
67
  compute_similarity,
68
  inputs=[
69
- gr.State(input1) if type1 == "Image" else gr.State(text1),
70
- gr.State(input2) if type2 == "Image" else gr.State(text2),
71
  type1,
72
  type2
73
  ],
 
66
  compare_btn.click(
67
  compute_similarity,
68
  inputs=[
69
+ input1,
70
+ input2,
71
  type1,
72
  type2
73
  ],