Spaces:
Runtime error
Runtime error
Paul-Louis Pröve
commited on
Commit
·
6b96986
1
Parent(s):
d87711f
css
Browse files
app.py
CHANGED
@@ -61,10 +61,14 @@ def bot(history, job, resume):
|
|
61 |
return
|
62 |
|
63 |
|
64 |
-
|
|
|
|
|
65 |
job = gr.State("")
|
66 |
resume = gr.State("")
|
67 |
-
chat = gr.Chatbot(
|
|
|
|
|
68 |
with gr.Row():
|
69 |
clr = gr.Button("Clear", scale=0)
|
70 |
msg = gr.Textbox(lines=1, show_label=False, scale=1)
|
|
|
61 |
return
|
62 |
|
63 |
|
64 |
+
css = "footer {visibility: hidden} #component-0{height: 90vh !important} #chatbot{height: 85vh !important}}"
|
65 |
+
|
66 |
+
with gr.Blocks(css=css) as app:
|
67 |
job = gr.State("")
|
68 |
resume = gr.State("")
|
69 |
+
chat = gr.Chatbot(
|
70 |
+
[[None, "Please upload the job description."]], height=600, elem_id="chatbot"
|
71 |
+
)
|
72 |
with gr.Row():
|
73 |
clr = gr.Button("Clear", scale=0)
|
74 |
msg = gr.Textbox(lines=1, show_label=False, scale=1)
|