Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def autoeval(BENCHMARK, MODEL, GPU, NUMBER_OF_GPUS, CONTAINER_DISK, CLOUD_TYPE,
|
|
38 |
}
|
39 |
)
|
40 |
|
41 |
-
return
|
42 |
|
43 |
with gr.Blocks() as demo:
|
44 |
gr.Markdown(TITLE)
|
@@ -55,8 +55,9 @@ with gr.Blocks() as demo:
|
|
55 |
gr.Textbox("", label="Github API Token", info="Your Github API token", placeholder="hf_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"),
|
56 |
gr.Textbox("", label="Runpod API Token", info="Your Runpod API token", placeholder="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"),
|
57 |
]
|
58 |
-
outputs = gr.Textbox(label="Output", value="")
|
59 |
btn = gr.Button("Evaluate!")
|
|
|
|
|
60 |
btn.click(autoeval, inputs, outputs)
|
61 |
|
62 |
demo.launch()
|
|
|
38 |
}
|
39 |
)
|
40 |
|
41 |
+
return "Evaluation started!"
|
42 |
|
43 |
with gr.Blocks() as demo:
|
44 |
gr.Markdown(TITLE)
|
|
|
55 |
gr.Textbox("", label="Github API Token", info="Your Github API token", placeholder="hf_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"),
|
56 |
gr.Textbox("", label="Runpod API Token", info="Your Runpod API token", placeholder="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"),
|
57 |
]
|
|
|
58 |
btn = gr.Button("Evaluate!")
|
59 |
+
outputs = gr.Textbox(label="Output", autofocus=True)
|
60 |
+
gr.Markdown("→ Find your pods: [https://www.runpod.io/console/pods](https://www.runpod.io/console/pods)")
|
61 |
btn.click(autoeval, inputs, outputs)
|
62 |
|
63 |
demo.launch()
|