chansung commited on
Commit
93685cc
·
1 Parent(s): 7d0c7ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +40 -0
app.py CHANGED
@@ -399,6 +399,46 @@ with gr.Blocks() as demo2:
399
  security_selector],
400
  outputs=status_txt)
401
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  gr.TabbedInterface(
403
  [demo2], ["Deploy on 🤗 Endpoint"]
404
  ).launch(enable_queue=True)
 
399
  security_selector],
400
  outputs=status_txt)
401
 
402
+ gr.Markdown("""
403
+ #### Pricing Table(CPU) - 2023/1/11
404
+ """)
405
+
406
+ gr.Dataframe(
407
+ headers=["provider", "size", "$/h", "vCPUs", "Memory", "Architecture"],
408
+ datatype=["str", "str", "str", "Number", "str", "str"],
409
+ row_count=8,
410
+ col_count=(6, "fixed"),
411
+ value=[
412
+ ["aws", "small", "$0.06", 1, "2GB", "Intel Xeon - Ice Lake"],
413
+ ["aws", "medium", "$0.12", 2, "4GB", "Intel Xeon - Ice Lake"],
414
+ ["aws", "large", "$0.24", 4, "8GB", "Intel Xeon - Ice Lake"],
415
+ ["aws", "xlarge", "$0.48", 8, "16GB", "Intel Xeon - Ice Lake"],
416
+ ["azure", "small", "$0.06", 1, "2GB", "Intel Xeon"],
417
+ ["azure", "medium", "$0.12", 2, "4GB", "Intel Xeon"],
418
+ ["azure", "large", "$0.24", 4, "8GB", "Intel Xeon"],
419
+ ["azure", "xlarge", "$0.48", 8, "16GB", "Intel Xeon"],
420
+ ]
421
+ )
422
+
423
+ gr.Markdown("""
424
+ #### Pricing Table(GPU) - 2023/1/11
425
+ """)
426
+
427
+ gr.Dataframe(
428
+ headers=["provider", "size", "$/h", "GPUs", "Memory", "Architecture"],
429
+ datatype=["str", "str", "str", "Number", "str", "str"],
430
+ row_count=6,
431
+ col_count=(6, "fixed"),
432
+ value=[
433
+ ["aws", "small", "$0.60", 1, "14GB", "NVIDIA T4"],
434
+ ["aws", "medium", "$1.30", 1, "24GB", "NVIDIA A10G"],
435
+ ["aws", "large", "$4.50", 4, "156B", "NVIDIA T4"],
436
+ ["aws", "xlarge", "$6.50", 1, "80GB", "NVIDIA A100"],
437
+ ["aws", "xxlarge", "$7.00", 4, "96GB", "NVIDIA A10G"],
438
+ ["aws", "xxxlarge", "$45.0", 8, "640GB", "NVIDIA A100"],
439
+ ]
440
+ )
441
+
442
  gr.TabbedInterface(
443
  [demo2], ["Deploy on 🤗 Endpoint"]
444
  ).launch(enable_queue=True)