Spaces:
Running
Running
Removing more "base model" stuff; formatting.
Browse files
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("#
|
| 183 |
-
gr.Markdown("##
|
| 184 |
-
gr.Markdown("##
|
| 185 |
-
|
| 186 |
-
|
| 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")
|