Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,4 +81,9 @@ init_thread = threading.Thread(target=initialize_refacer)
|
|
| 81 |
init_thread.start()
|
| 82 |
|
| 83 |
# Launch demo
|
| 84 |
-
demo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
init_thread.start()
|
| 82 |
|
| 83 |
# Launch demo
|
| 84 |
+
demo = gr.Interface(fn=predict, inputs=gr.inputs.Textbox(label='CANDIDATE input'), \
|
| 85 |
+
outputs=[gr.outputs.Textbox(label='VACANCIES'),\
|
| 86 |
+
gr.Plot()],\
|
| 87 |
+
css='div {margin-left: auto; margin-right: auto; width: 100%;\
|
| 88 |
+
background-image: url("https://ibb.co/37wzh0r"); repeat 0 0;}')\
|
| 89 |
+
.launch(share=False).launch(show_error=True, share=True, server_name="0.0.0.0", server_port=7860)
|