Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -195,8 +195,15 @@ def load_url(url):
|
|
195 |
def tot_prob():
|
196 |
try:
|
197 |
fin_out = fin_sum[0]["Real"]+fin_sum[1]["Real"]+fin_sum[2]["Real"]
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
print (fin_out)
|
199 |
except Exception as e:
|
|
|
200 |
print (f'ERROR :: {e}')
|
201 |
|
202 |
with gr.Blocks() as app:
|
|
|
195 |
def tot_prob():
|
196 |
try:
|
197 |
fin_out = fin_sum[0]["Real"]+fin_sum[1]["Real"]+fin_sum[2]["Real"]
|
198 |
+
fin_out = fin_out/3
|
199 |
+
fin_sub = 1-fin_out
|
200 |
+
out={
|
201 |
+
"Real":f"{fin_out}",
|
202 |
+
"AI":f"{fin_sub}"
|
203 |
+
}
|
204 |
print (fin_out)
|
205 |
except Exception as e:
|
206 |
+
pass
|
207 |
print (f'ERROR :: {e}')
|
208 |
|
209 |
with gr.Blocks() as app:
|