samNakamoto commited on
Commit
617c6b9
1 Parent(s): 80789d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -13,17 +13,9 @@ import time
13
 
14
  FONT = """<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" rel="stylesheet">"""
15
  HEADER = """
16
- <h2 align="center" class="typewriter">Welcome to the Zangief - CommuneAI Translation Subnet Leaderboard!</h2>
17
- <p align="center">This leaderboard showcases the top-performing miners in the Zangief - CommuneAI Translation Subnet. The models are ranked based on their daily rewards.</p>
18
- <p align="center">Zangief is a subnet dedicated to language translation. The goal of the subnet is to collectively bootstrap a language translation application that supports dozens of different languages, communication styles, and specific areas of expertise.</p>
19
- <p align="center">The actors that power the subnet are the miners and validators. The validators generate source material to be translated and pass the source material to the miners. The miners run web services that respond to the given source input with high quality translation. The miners also respond to queries that are served from an end-user application. Over time, the validators will also curate high quality translations to the source material which itself will be cleaned and compiled into a dataset. The dataset that is produced from the mining and validating activity on the subnet will be open source. This dataset can be used to train models or provide useful translations for subtitles or other online media.</p>
20
- """
21
  EVALUATION_HEADER = """<h3 align="center">Evaluation Details</h3>"""
22
  EVALUATION_DETAILS = """<p align="center"><b>Name</b> represents the model name. <b>Rewards / Day</b> indicates the expected daily rewards for each model in <b>$COMAI</b>. <b>UID</b> is the unique identifier of the miner. <b>$USD Value</b> is the estimated dollar value of the daily rewards.</p>"""
23
- LANGUAGES_SUPPORTED = """
24
- <h3 align="center">Languages Supported</h3>
25
- <p align="center">Arabic, Chinese, English, French, German, Hebrew, Hindi, Portuguese, Russian, Spanish, Urdu, Vietnamese, and more to come!</p>
26
- """
27
  netuid = 18
28
  for i in range(32):
29
  node_url = f"wss://commune-api-node-{i}.communeai.net"
@@ -194,7 +186,7 @@ custom_css = """
194
 
195
  with gr.Blocks(theme=seafoam, analytics_enabled=True, css=custom_css) as demo:
196
  gr.HTML(FONT)
197
- gr.Image("zang_pi.png", elem_id="custom-image")
198
  gr.HTML(HEADER)
199
  gr.HTML(EVALUATION_HEADER)
200
  gr.HTML(EVALUATION_DETAILS)
 
13
 
14
  FONT = """<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" rel="stylesheet">"""
15
  HEADER = """
16
+ <h2 align="center" class="typewriter">Welcome to the Yama - CommuneAI Resume Subnet Leaderboard!</h2>
 
 
 
 
17
  EVALUATION_HEADER = """<h3 align="center">Evaluation Details</h3>"""
18
  EVALUATION_DETAILS = """<p align="center"><b>Name</b> represents the model name. <b>Rewards / Day</b> indicates the expected daily rewards for each model in <b>$COMAI</b>. <b>UID</b> is the unique identifier of the miner. <b>$USD Value</b> is the estimated dollar value of the daily rewards.</p>"""
 
 
 
 
19
  netuid = 18
20
  for i in range(32):
21
  node_url = f"wss://commune-api-node-{i}.communeai.net"
 
186
 
187
  with gr.Blocks(theme=seafoam, analytics_enabled=True, css=custom_css) as demo:
188
  gr.HTML(FONT)
189
+ gr.Image("cXn.png", elem_id="custom-image")
190
  gr.HTML(HEADER)
191
  gr.HTML(EVALUATION_HEADER)
192
  gr.HTML(EVALUATION_DETAILS)