AlexanderHolmes0 commited on
Commit
9fcb251
·
verified ·
1 Parent(s): f4ebee5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -1,3 +1,10 @@
1
  import gradio as gr
2
 
3
- gr.load("models/AlexanderHolmes0/Fake-News-Detector").launch()
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+
4
+ with gr.Blocks() as demo:
5
+ with gr.Tab("Short News Articles (512 Tokens)"):
6
+ gr.load("models/AlexanderHolmes0/Fake-News-Detector")
7
+ with gr.Tab("Long News Articles (4096 Tokens)"):
8
+ gr.load("models/AlexanderHolmes0/Fake-News-Detector-Long")
9
+
10
+ demo.launch()