anhdt-dsai-02 commited on
Commit
fffd6fc
1 Parent(s): c8310c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks() as demo:
42
 
43
  # Working section (initially hidden)
44
  with gr.Column(visible=False) as translation_section:
45
- gr.Textbox(value="How many positive integer factors of 2020 have more than 3 factors? (As an example, 12 has 6 factors, namely 1,2,3,4,6, and 12. \n(A) 6(B) 7(C) 8(D) 9(E) 10", lines = 6 label= "Question", interactive=False)
46
  #code = gr.Textbox(placeholder="import numpy as np\ndef calculate(...):\n ...\n return results\n...\nprint(results)", label="Code from AI model", lines = 6)
47
  code_box = gr.Code(language="python", value="import numpy as np\ndef calculate(...):\n ...\n return results\n...\nprint(results)", label="Code from AI model", interactive = True)
48
  submit_button = gr.Button("Submit code")
 
42
 
43
  # Working section (initially hidden)
44
  with gr.Column(visible=False) as translation_section:
45
+ gr.Textbox(value="How many positive integer factors of 2020 have more than 3 factors? (As an example, 12 has 6 factors, namely 1,2,3,4,6, and 12. \n(A) 6(B) 7(C) 8(D) 9(E) 10", lines = 6, label= "Question", interactive=False)
46
  #code = gr.Textbox(placeholder="import numpy as np\ndef calculate(...):\n ...\n return results\n...\nprint(results)", label="Code from AI model", lines = 6)
47
  code_box = gr.Code(language="python", value="import numpy as np\ndef calculate(...):\n ...\n return results\n...\nprint(results)", label="Code from AI model", interactive = True)
48
  submit_button = gr.Button("Submit code")