mlabonne commited on
Commit
2ee60e6
1 Parent(s): 28751d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -38,7 +38,7 @@ def autoeval(BENCHMARK, MODEL, GPU, NUMBER_OF_GPUS, CONTAINER_DISK, CLOUD_TYPE,
38
  }
39
  )
40
 
41
- return gr.Textbox("Evaluation started!", label="Output", autofocus=True, visible=True),
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()