haoyang commited on
Commit
69a4c41
1 Parent(s): e7a7ef0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -280,6 +280,19 @@ with demo:
280
  )
281
  with gr.Row():
282
  gr.Markdown("# ✉️✨ Submit your model here!", elem_classes="markdown-text")
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  with gr.Column():
284
  precision = gr.Dropdown(
285
  choices=[i.value.name for i in Precision if i != Precision.Unknown],
 
280
  )
281
  with gr.Row():
282
  gr.Markdown("# ✉️✨ Submit your model here!", elem_classes="markdown-text")
283
+
284
+ with gr.Row():
285
+ with gr.Column():
286
+ model_name_textbox = gr.Textbox(label="Model name")
287
+ revision_name_textbox = gr.Textbox(label="Revision commit", placeholder="main")
288
+ model_type = gr.Dropdown(
289
+ choices=[t.to_str(" : ") for t in ModelType if t != ModelType.Unknown],
290
+ label="Model type",
291
+ multiselect=False,
292
+ value=None,
293
+ interactive=True,
294
+ )
295
+
296
  with gr.Column():
297
  precision = gr.Dropdown(
298
  choices=[i.value.name for i in Precision if i != Precision.Unknown],