meg HF Staff commited on
Commit
2eaee77
·
verified ·
1 Parent(s): e5ef5dd

Removing more "base model" stuff; formatting.

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -151,7 +151,6 @@ def add_new_eval(
151
 
152
  request_dict = {
153
  "model": repo_id,
154
- "base_model": base_model,
155
  "revision": revision,
156
  "precision": precision,
157
  "weight_type": weight_type,
@@ -179,11 +178,11 @@ def add_new_eval(
179
 
180
 
181
  with gr.Blocks() as demo:
182
- gr.Markdown("# This is a super basic example 'frontend'. Fill out below then click **Run** to create the request file and launch the job.")
183
- gr.Markdown("## The request file will be written so %s." % REQUESTS_DATASET_PATH)
184
- gr.Markdown("## The job will be launched at [EnergyStarAI/launch-computation-example](https://huggingface.co/spaces/EnergyStarAI/launch-computation-example).")
185
- with gr.Row():
186
- gr.Markdown("# ✉️✨ Submit your model here!", elem_classes="markdown-text")
187
  with gr.Row():
188
  with gr.Column():
189
  model_name_textbox = gr.Textbox(label="Model name", placeholder="lvwerra/distilbert-imdb")
 
151
 
152
  request_dict = {
153
  "model": repo_id,
 
154
  "revision": revision,
155
  "precision": precision,
156
  "weight_type": weight_type,
 
178
 
179
 
180
  with gr.Blocks() as demo:
181
+ gr.Markdown("# ✉️✨ Submit your model here!", elem_classes="markdown-text")
182
+ gr.Markdown("## This is a super basic example 'frontend'.")
183
+ gr.Markdown("## Fill out below then click **Run Analysis** to create the request file and launch the job.")
184
+ gr.Markdown("### The request file will be written to %s." % REQUESTS_DATASET_PATH)
185
+ gr.Markdown("### The job will be launched at [EnergyStarAI/launch-computation-example](https://huggingface.co/spaces/EnergyStarAI/launch-computation-example).")
186
  with gr.Row():
187
  with gr.Column():
188
  model_name_textbox = gr.Textbox(label="Model name", placeholder="lvwerra/distilbert-imdb")