Ver código fonte

Update colab.py

Iyashi 1 ano atrás
pai
commit
dcd26f3982
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      scripts/colab.py

+ 2
- 2
scripts/colab.py Ver arquivo

@@ -8,7 +8,7 @@ def run(command):
8 8
     return out
9 9
 
10 10
 def on_ui_tabs():     
11
-    with gr.Blocks() as ccolab:
11
+    with gr.Blocks() as terminal:
12 12
         gr.Markdown(
13 13
         """
14 14
         ### Google Colab Manually Run Command
@@ -22,5 +22,5 @@ def on_ui_tabs():
22 22
                 out_text = gr.Textbox(label="Output Results (no need to scroll down if the output code has appeared, if the output code appears, the code sign is complete)", placeholder="outputs")
23 23
                 btn_run = gr.Button("run command")
24 24
                 btn_run.click(fn=run, inputs=command, outputs=out_text)
25
-    return (ccolab, "C Colab", "ccolab"),
25
+    return (terminal, "Colab Terminal", "terminal"),
26 26
 script_callbacks.on_ui_tabs(on_ui_tabs)

Carregando…
Cancelar
Salvar