Commit
·
9263dfd
1
Parent(s):
267ab6e
Update app.py
Browse files
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 =
|
58 |
-
outputs =
|
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 |
|