Spaces:
Build error
Build error
Commit ·
cee7e71
1
Parent(s): dbd0ecb
Update app.py
Browse files
app.py
CHANGED
|
@@ -187,6 +187,7 @@ def Detection(index):
|
|
| 187 |
|
| 188 |
|
| 189 |
import gradio as gr
|
| 190 |
-
iface = gr.Interface(fn=Detection, inputs=gr.Textbox(lines=2,placeholder="Enter News ID here:"), outputs="label" , title = 'Hoaxie'
|
|
|
|
| 191 |
|
| 192 |
iface.launch()
|
|
|
|
| 187 |
|
| 188 |
|
| 189 |
import gradio as gr
|
| 190 |
+
iface = gr.Interface(fn=Detection, inputs=gr.Textbox(lines=2,placeholder="Enter News ID here:"), outputs="label" , title = 'Hoaxie')
|
| 191 |
+
with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
| 192 |
|
| 193 |
iface.launch()
|