jayebaku commited on
Commit
5a752ac
·
verified ·
1 Parent(s): 26536f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 gr.update(value=html)
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)