Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def aiornot0(image):
|
|
| 42 |
AI: {px[0]}<br>
|
| 43 |
Real: {px[1]}"""
|
| 44 |
|
| 45 |
-
return gr.update(html_out)
|
| 46 |
def aiornot1(image):
|
| 47 |
labels = ["Real", "AI"]
|
| 48 |
mod=models[1]
|
|
@@ -80,6 +80,7 @@ with gr.Blocks() as app:
|
|
| 80 |
|
| 81 |
with gr.Column():
|
| 82 |
#outp0 = gr.Textbox(label=f'{models[0]}')
|
|
|
|
| 83 |
outp0 = gr.HTML("""""")
|
| 84 |
outp1 = gr.Textbox(label=f'{models[1]}')
|
| 85 |
outp2 = gr.Textbox(label=f'{models[2]}')
|
|
|
|
| 42 |
AI: {px[0]}<br>
|
| 43 |
Real: {px[1]}"""
|
| 44 |
|
| 45 |
+
return gr.HTML.update(html_out)
|
| 46 |
def aiornot1(image):
|
| 47 |
labels = ["Real", "AI"]
|
| 48 |
mod=models[1]
|
|
|
|
| 80 |
|
| 81 |
with gr.Column():
|
| 82 |
#outp0 = gr.Textbox(label=f'{models[0]}')
|
| 83 |
+
lab0 = gr.HTML(f"""Testing on Model {models[0]}""")
|
| 84 |
outp0 = gr.HTML("""""")
|
| 85 |
outp1 = gr.Textbox(label=f'{models[1]}')
|
| 86 |
outp2 = gr.Textbox(label=f'{models[2]}')
|