Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,15 +71,16 @@ def gradio_interface() -> None:
|
|
| 71 |
<br><h1 style="color:#006e49">Screening Assistant Chatbot</h1></center>""")
|
| 72 |
|
| 73 |
with gr.Row():
|
| 74 |
-
with gr.Column(scale=0.80):
|
| 75 |
-
chatbot = gr.Chatbot()
|
| 76 |
with gr.Column(scale=0.20):
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
with gr.Column(scale=0.80):
|
| 84 |
msg = gr.Textbox(label="Question")
|
| 85 |
with gr.Column(scale=0.20):
|
|
@@ -87,6 +88,6 @@ def gradio_interface() -> None:
|
|
| 87 |
|
| 88 |
msg.submit(get_response, [msg, chatbot, resume, jd], [msg, chatbot])
|
| 89 |
|
| 90 |
-
demo.launch(debug
|
| 91 |
|
| 92 |
gradio_interface()
|
|
|
|
| 71 |
<br><h1 style="color:#006e49">Screening Assistant Chatbot</h1></center>""")
|
| 72 |
|
| 73 |
with gr.Row():
|
|
|
|
|
|
|
| 74 |
with gr.Column(scale=0.20):
|
| 75 |
+
resume = gr.File(label="Resume")
|
| 76 |
+
with gr.Column(scale=0.20):
|
| 77 |
+
jd = gr.File(label="Job Description")
|
| 78 |
+
|
|
|
|
| 79 |
with gr.Row():
|
| 80 |
+
with gr.Column(scale=0.80):
|
| 81 |
+
chatbot = gr.Chatbot()
|
| 82 |
+
|
| 83 |
+
with gr.Row():
|
| 84 |
with gr.Column(scale=0.80):
|
| 85 |
msg = gr.Textbox(label="Question")
|
| 86 |
with gr.Column(scale=0.20):
|
|
|
|
| 88 |
|
| 89 |
msg.submit(get_response, [msg, chatbot, resume, jd], [msg, chatbot])
|
| 90 |
|
| 91 |
+
demo.launch(debug=True, share=True)
|
| 92 |
|
| 93 |
gradio_interface()
|