noumanjavaid commited on
Commit
20b640e
·
verified ·
1 Parent(s): 9d517d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -169,7 +169,8 @@ def process_image(image):
169
  .items(), key=lambda x: x[1], reverse=True)[:3]
170
  for source, prob in sorted_sources:
171
  if prob > 0.01:
172
- result_message += f"- {source}: {prob:.1%}\n"
 
173
 
174
  return image, result_message
175
 
@@ -197,7 +198,7 @@ def create_demo():
197
  2. Click the 'Submit' button
198
  3. Get a detailed analysis of whether the image is AI-generated alongside the Model that might be used in generation.
199
  """,
200
- css=".footer {display: none;}
201
  )
202
  return demo
203
 
 
169
  .items(), key=lambda x: x[1], reverse=True)[:3]
170
  for source, prob in sorted_sources:
171
  if prob > 0.01:
172
+ result_message += f"- {source}: {prob
173
+ :.1%}\n"
174
 
175
  return image, result_message
176
 
 
198
  2. Click the 'Submit' button
199
  3. Get a detailed analysis of whether the image is AI-generated alongside the Model that might be used in generation.
200
  """,
201
+ css=".footer {display: none;}"
202
  )
203
  return demo
204