Spaces:
Running
Running
from reader import Reader | |
from utils import * | |
import argparse | |
if __name__ == '__main__': | |
parser = argparse.ArgumentParser(description='Generate Geometry Answer') | |
parser.add_argument('--model', type=str, default='gpt-4o-mini', help='Model to use for generation', choices=['gpt-4o-mini', 'gemma2-9b-it']) | |
parser.add_argument('--question', type=str, required=True, help='Question to generate answer for') | |
args = parser.parse_args() | |
reader = Reader(model=args.model) | |
input = translate(args.question) | |
reader.main(input) | |
run_ag() |