HugoVoxx commited on
Commit
beb6e6e
·
verified ·
1 Parent(s): e64538f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,7 +4,7 @@ from utils import *
4
 
5
  OUTPUT_FOLDER = 'ag4mout'
6
 
7
- def geogeosolver(question:str, model:str):
8
  reader = Reader(model=model)
9
  input = translate(question)
10
  reader.main(input)
@@ -22,7 +22,6 @@ if __name__ == '__main__':
22
  with gr.Row():
23
  with gr.Column():
24
  question = gr.Textbox(lines=1, placeholder="Hãy nhập đề bài cần giải", label="Đề bài")
25
- model = "gpt-4o-mini"
26
  solve_button = gr.Button(value="Giải")
27
  premises = gr.Textbox(lines=3, label="Các Giả Thuyết của Đề Bài")
28
  constructions = gr.Textbox(lines=3, label="Các điểm được dựng thêm")
 
4
 
5
  OUTPUT_FOLDER = 'ag4mout'
6
 
7
+ def geogeosolver(question:str, model:str="gpt-4o-mini"):
8
  reader = Reader(model=model)
9
  input = translate(question)
10
  reader.main(input)
 
22
  with gr.Row():
23
  with gr.Column():
24
  question = gr.Textbox(lines=1, placeholder="Hãy nhập đề bài cần giải", label="Đề bài")
 
25
  solve_button = gr.Button(value="Giải")
26
  premises = gr.Textbox(lines=3, label="Các Giả Thuyết của Đề Bài")
27
  constructions = gr.Textbox(lines=3, label="Các điểm được dựng thêm")