Blackeyes0u0 commited on
Commit
fadb2d1
·
1 Parent(s): b019de7
Files changed (2) hide show
  1. app.py +1 -1
  2. test.ipynb +0 -0
app.py CHANGED
@@ -126,7 +126,7 @@ def PCA(img_emb, text_emb,n_components = 3):
126
  demo = gr.Interface(
127
  fn=democlip,
128
  # inputs = [gr.Image(),gr.Textbox(lable='input prediction')],
129
- inputs = ['text',gr.Textbox(lable='input prediction')],
130
  # outputs='label'
131
  outputs = [gr.Textbox(label='text pca Box'),gr.Textbox(label='image pca Box')]
132
  )
 
126
  demo = gr.Interface(
127
  fn=democlip,
128
  # inputs = [gr.Image(),gr.Textbox(lable='input prediction')],
129
+ inputs = ['text',gr.Textbox(label='input prediction')],
130
  # outputs='label'
131
  outputs = [gr.Textbox(label='text pca Box'),gr.Textbox(label='image pca Box')]
132
  )
test.ipynb ADDED
File without changes