Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,12 @@ description_e = """This is a demo on Github project π [Deepfake Text Detectio
|
|
| 43 |
π Check out our [Model Card π](https://huggingface.co/nealcly/detection-longformer)
|
| 44 |
|
| 45 |
"""
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
gr.Markdown(description_e)
|
| 48 |
iface = gr.Interface(fn=detect, inputs="text", outputs="text")
|
| 49 |
iface.launch()
|
|
|
|
| 43 |
π Check out our [Model Card π](https://huggingface.co/nealcly/detection-longformer)
|
| 44 |
|
| 45 |
"""
|
| 46 |
+
css = "h1 { text-align: center } .about { text-align: justify; padding-left: 10%; padding-right: 10%; }"
|
| 47 |
+
with gr.Blocks(css=css, title='Deepfake Text Detection in the Wild') as demo:
|
| 48 |
+
with gr.Row():
|
| 49 |
+
gr.Markdown('Deepfake Text Detection in the Wild')
|
| 50 |
+
gr.Markdown(description_e)
|
| 51 |
+
|
| 52 |
gr.Markdown(description_e)
|
| 53 |
iface = gr.Interface(fn=detect, inputs="text", outputs="text")
|
| 54 |
iface.launch()
|