Spaces:
Sleeping
Sleeping
umm-maybe
commited on
Commit
·
3c17d63
1
Parent(s):
de2ebc5
Fix html
Browse files
app.py
CHANGED
@@ -93,5 +93,5 @@ with gr.Interface(fn=getTour, inputs=[
|
|
93 |
gr.inputs.Dropdown(["unknown", "male", "female"], label="Gender/sex"),
|
94 |
gr.inputs.Dropdown(["unknown", "grade school","highschool", "associates", "bachelors", "graduate"], label="Educational attainment level"),
|
95 |
gr.inputs.Dropdown(["unknown", "yes","no"], label="Worker status")],
|
96 |
-
outputs=["json",gr.HTML()], title="GPT-Tour", description="Generate a tour for a person", allow_flagging=False, allow_screenshot=False, allow_embedding=False) as iface:
|
97 |
iface.launch()
|
|
|
93 |
gr.inputs.Dropdown(["unknown", "male", "female"], label="Gender/sex"),
|
94 |
gr.inputs.Dropdown(["unknown", "grade school","highschool", "associates", "bachelors", "graduate"], label="Educational attainment level"),
|
95 |
gr.inputs.Dropdown(["unknown", "yes","no"], label="Worker status")],
|
96 |
+
outputs=["json",gr.HTML(value=open("tour.html",'r'))], title="GPT-Tour", description="Generate a tour for a person", allow_flagging=False, allow_screenshot=False, allow_embedding=False) as iface:
|
97 |
iface.launch()
|