Spaces:
Running on A100
Running on A100
Update app.py
Browse files106 unmodified lines1071081091101111121131141151161171181191201214 unmodified lines1261271281291301311321331 unmodified line1351361371381391401413 unmodified lines145146147148149150151152153154155106 unmodified lines# These examples populate: Image + Template + Instructions.STRUCTURED_EXAMPLE_TEMPLATES: Dict[str, Dict[str, Any]] = {"1.jpg": {"game_name": "verbatim-string","game_company_issuer_name": "string","currency_code_iso4217": "string","game_price": "number","game_maximum_possible_gain": "number","matched_winning_numbers": ["integer"],"matched_winning_symbols": ["string"],"gain": "number",},"2.png": {"number_of_bathrooms": "integer","number_of_toilets": "integer",4 unmodified lines{"room_name": "verbatim-string","surface_area": "number","number_of_windows": "integer","number_of_doors": "integer",}],"bedrooms": [1 unmodified line"bedroom_name": "verbatim-string","surface_area": "number","number_of_windows": "integer","has_closet": "boolean","has_private_bathroom": "boolean",}],3 unmodified lines"number_of_parking_spaces_in_garage": "integer","number_of_parking_spaces_exterior": "integer",},}STRUCTURED_EXAMPLE_INSTRUCTIONS: Dict[str, str] = {"1.jpg": "","2.png": "",}106 unmodified lines1071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851864 unmodified lines1911921931941951961 unmodified line1981992002012022033 unmodified lines207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247106 unmodified lines# These examples populate: Image + Template + Instructions.STRUCTURED_EXAMPLE_TEMPLATES: Dict[str, Dict[str, Any]] = {"1.jpg": {"movie_name": "verbatim-string","tagline": "verbatim-string","language": "string","motion_picture_association_rating": ["G - General Audiences","PG - Parental Guidance Suggested","PG-13 – Parents Strongly Cautioned","R – Restricted","NC-17 – Adults Only","not provided"],"movie_distribution_company": "verbatim-string","movie_production_company": "verbatim-string","theatre_release_date": "date-time","movie_website_address": "verbatim-string","movie_director_name": "verbatim-string","actors_names": ["verbatim-string"],"staff": [{"staff_name": "verbatim-string","staff_role": ["director","co-director","screenwriter","author","cinematographer","costume designer","production designer","set designer","animator","color designer","art director","animation director","vfx director","voice actor","composer","songwriter","music performer","music supervisor","choreographer","casting director","editor","producer","co-producer","associate producer","executive producer","co-executive producer","line producer"]}],"reviews": [{"critic_name": "verbatim-string","review_comment": "verbatim-string"}],"technologies": [["Dolby Stereo","Dolby Digital","Dolby Stereo Digital","Dolby Atmos","Dolby Vision","Dolby Cinema","DTS","SDDS","IMAX","4DX"]]},"2.png": {"number_of_bathrooms": "integer","number_of_toilets": "integer",4 unmodified lines{"room_name": "verbatim-string","surface_area": "number",}],"bedrooms": [1 unmodified line"bedroom_name": "verbatim-string","surface_area": "number","number_of_windows": "integer","has_private_bathroom": "boolean",}],3 unmodified lines"number_of_parking_spaces_in_garage": "integer","number_of_parking_spaces_exterior": "integer",},"8.png" : {"invoice_number": "verbatim-string","issuer_name": "verbatim-string","recipient_name": "verbatim-string","issuer_location": {"street_number": "verbatim-string","street_name": "verbatim-string","city": "verbatim-string","zip_code": "string","country": "string"},"date_of_issue": "date-time","date_due": "date-time","currency_code_iso4217": "string","items": [{"item_name": "verbatim-string","item_quantity": "number","item_price_per_unit": "number","item_total_price": "number"}],"total_discount_amount": "number","total_fee_amount": "number","total_tax_amount": "number","total_price_net": "number","total_price_gross": "number"},}STRUCTURED_EXAMPLE_INSTRUCTIONS: Dict[str, str] = {"1.jpg": "","2.png": "","8.png": "",}
app.py+104-12