Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,8 @@ def main():
|
|
102 |
|
103 |
iface = gr.Interface(
|
104 |
fn=format_resume_to_yaml,
|
105 |
-
inputs=[input_api_key,
|
|
|
106 |
outputs=output_yaml,
|
107 |
title="Resume to YAML Formatter",
|
108 |
description="Upload a PDF resume and enter your OpenAI API key to get it formatted to a YAML template.",
|
|
|
102 |
|
103 |
iface = gr.Interface(
|
104 |
fn=format_resume_to_yaml,
|
105 |
+
inputs=[input_api_key, input_pdf_file],
|
106 |
+
on_file_change=on_file_upload,
|
107 |
outputs=output_yaml,
|
108 |
title="Resume to YAML Formatter",
|
109 |
description="Upload a PDF resume and enter your OpenAI API key to get it formatted to a YAML template.",
|