Spaces:
Sleeping
Sleeping
Commit
·
ad547cc
1
Parent(s):
15bcf0e
binary
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ def wrap_all(file, input_prompt:str):
|
|
| 74 |
# Define the Gradio interface
|
| 75 |
iface = gr.Interface(
|
| 76 |
fn=wrap_all,
|
| 77 |
-
inputs=[gr.File(type="
|
| 78 |
outputs="text",
|
| 79 |
title="Interviews: QA and summarization",
|
| 80 |
description="Upload a .docx file with the interview and enter the question you have or ask for a summarization.")
|
|
|
|
| 74 |
# Define the Gradio interface
|
| 75 |
iface = gr.Interface(
|
| 76 |
fn=wrap_all,
|
| 77 |
+
inputs=[gr.File(type="binary", label=".docx file of the interview"), gr.Textbox(label="Enter your inquiry")],
|
| 78 |
outputs="text",
|
| 79 |
title="Interviews: QA and summarization",
|
| 80 |
description="Upload a .docx file with the interview and enter the question you have or ask for a summarization.")
|