samsl commited on
Commit
e500c79
1 Parent(s): 20a9f7a

Update gradio version

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -123,7 +123,7 @@ def predict(run_name, model_name, csv_file, progress = gr.Progress()):
123
  demo = gr.Interface(
124
  fn=predict,
125
  inputs = [
126
- gr.Textbox(label="Run Name", default = "predictions", type="text"),
127
  gr.Dropdown(label="Model", choices = ["ConPLex_V1_BindingDB"], value = "ConPLex_V1_BindingDB"),
128
  gr.File(label="Pairs (.tsv)", file_types = [".tsv"]),
129
  ],
@@ -134,7 +134,7 @@ demo = gr.Interface(
134
  # height = 200,
135
  # row_count = 20
136
  # ),
137
- gr.File(label="Download results", type="file")
138
  ],
139
  # title = title,
140
  # description = description,
 
123
  demo = gr.Interface(
124
  fn=predict,
125
  inputs = [
126
+ gr.Textbox(label="Run Name", placeholder = "predictions", type="text"),
127
  gr.Dropdown(label="Model", choices = ["ConPLex_V1_BindingDB"], value = "ConPLex_V1_BindingDB"),
128
  gr.File(label="Pairs (.tsv)", file_types = [".tsv"]),
129
  ],
 
134
  # height = 200,
135
  # row_count = 20
136
  # ),
137
+ gr.File(label="Download results", type="filepath")
138
  ],
139
  # title = title,
140
  # description = description,