Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def T_on_select(evt: gr.SelectData):
|
|
35 |
f"""\n<a href="https://twitter.com/anyuser/status/{evt.value}"></a></blockquote>"""
|
36 |
else:
|
37 |
html = f"""<h2>{evt.value}</h2>"""
|
38 |
-
return
|
39 |
|
40 |
def single_classification(text, event_model, threshold):
|
41 |
res = classify(text, event_model, HFTOKEN, threshold)
|
|
|
35 |
f"""\n<a href="https://twitter.com/anyuser/status/{evt.value}"></a></blockquote>"""
|
36 |
else:
|
37 |
html = f"""<h2>{evt.value}</h2>"""
|
38 |
+
return html
|
39 |
|
40 |
def single_classification(text, event_model, threshold):
|
41 |
res = classify(text, event_model, HFTOKEN, threshold)
|