Spaces:
Runtime error
Runtime error
100 epochs
Browse files- .gitattributes +0 -0
- Dubai_translated_best_2500.csv +0 -0
- README.md +0 -0
- app.py +4 -1
- requirements.txt +0 -0
.gitattributes
CHANGED
File without changes
|
Dubai_translated_best_2500.csv
CHANGED
File without changes
|
README.md
CHANGED
File without changes
|
app.py
CHANGED
@@ -147,7 +147,7 @@ cp_callback = tf.keras.callbacks.ModelCheckpoint(
|
|
147 |
save_weights_only=True,
|
148 |
save_freq=2)
|
149 |
|
150 |
-
model.fit(cached_train, callbacks=[cp_callback],epochs=
|
151 |
|
152 |
index=df["code"].map(lambda x: [model.movie_model(tf.constant(x))])
|
153 |
|
@@ -177,6 +177,9 @@ def predict(text):
|
|
177 |
plt.text(x, y, y, ha='center', va='bottom', fontsize=12, color='black')
|
178 |
return xx, fig
|
179 |
|
|
|
|
|
|
|
180 |
demo = gr.Interface(fn=predict, inputs=gr.inputs.Textbox(label='CANDIDATE COMPETENCES - Click *Clear* before adding new input'), \
|
181 |
outputs=[gr.outputs.Textbox(label='SUGGESTED VACANCIES'),\
|
182 |
gr.Plot()],\
|
|
|
147 |
save_weights_only=True,
|
148 |
save_freq=2)
|
149 |
|
150 |
+
model.fit(cached_train, callbacks=[cp_callback],epochs=100)
|
151 |
|
152 |
index=df["code"].map(lambda x: [model.movie_model(tf.constant(x))])
|
153 |
|
|
|
177 |
plt.text(x, y, y, ha='center', va='bottom', fontsize=12, color='black')
|
178 |
return xx, fig
|
179 |
|
180 |
+
predict("")
|
181 |
+
|
182 |
+
|
183 |
demo = gr.Interface(fn=predict, inputs=gr.inputs.Textbox(label='CANDIDATE COMPETENCES - Click *Clear* before adding new input'), \
|
184 |
outputs=[gr.outputs.Textbox(label='SUGGESTED VACANCIES'),\
|
185 |
gr.Plot()],\
|
requirements.txt
CHANGED
File without changes
|