Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,10 +13,10 @@ def predict(txt):
|
|
13 |
pred,pred_idx,probs = learner.predict(txt)
|
14 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
15 |
|
16 |
-
ejemploActualidad="
|
17 |
-
ejemploDeportes="
|
18 |
-
ejemploNegocios="
|
19 |
-
ejemploCiencia="
|
20 |
|
21 |
|
22 |
# Creamos la interfaz y la lanzamos.
|
|
|
13 |
pred,pred_idx,probs = learner.predict(txt)
|
14 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
15 |
|
16 |
+
ejemploActualidad="An Elusive Peace in Najaf The standoff is driven by Moqtada Sadr's political ambitions. But how good is his poker game?"
|
17 |
+
ejemploDeportes="Rathbone is #39;like Gregan #39; AUSTRALIAN coach Eddie Jones rates winger Clyde Rathbone a potential successor to Wallaby captain George Gregan as the pair reach Test career milestones tonight against South Africa in Durban. "
|
18 |
+
ejemploNegocios="Kmart #39;s store sales might cost jobs Report: Retailer could terminate as many as 1,200 positions stemming from stores sold to Home Depot. "
|
19 |
+
ejemploCiencia="RealNetworks Doesn #39;t Rock NEW YORK - It #39;s never a smart move to pick a public fight with Apple Computer, and it #39;s doubly unwise if that fight involves the iPod in some way. "
|
20 |
|
21 |
|
22 |
# Creamos la interfaz y la lanzamos.
|