Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,6 @@ def main():
|
|
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.",
|
@@ -111,6 +110,5 @@ def main():
|
|
111 |
|
112 |
iface.launch(debug=True)
|
113 |
|
114 |
-
|
115 |
if __name__ == "__main__":
|
116 |
-
main()
|
|
|
103 |
iface = gr.Interface(
|
104 |
fn=format_resume_to_yaml,
|
105 |
inputs=[input_api_key, input_pdf_file],
|
|
|
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.",
|
|
|
110 |
|
111 |
iface.launch(debug=True)
|
112 |
|
|
|
113 |
if __name__ == "__main__":
|
114 |
+
main()
|