sgonzalezsilot commited on
Commit
9263dfd
·
1 Parent(s): 267ab6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -53,9 +53,12 @@ def get_news(input_text):
53
  result = "True News"
54
  return result
55
 
 
 
 
56
  iface = gr.Interface(fn = get_news,
57
- inputs = "text",
58
- outputs = ['text'],
59
  title = 'Fake News',
60
  description="")
61
 
 
53
  result = "True News"
54
  return result
55
 
56
+ tweet_input = gr.Textbox(label = "Enter the tweet")
57
+ output = gr.Textbox("Result")
58
+
59
  iface = gr.Interface(fn = get_news,
60
+ inputs = tweet_input,
61
+ outputs = output,
62
  title = 'Fake News',
63
  description="")
64