MuskanMjn commited on
Commit
381507b
1 Parent(s): 4f590e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -49,7 +49,8 @@ with gr.Blocks() as demo:
49
  gr.Markdown("### In this demo, we use a non-linear SVC (Support Vector Classifier) to learn the decision function of the XOR operator.")
50
 
51
  xor_image = Image.open("xor.png")
52
- gr.Image(xor_image, label="Table explaining the 'XOR' operator", shape = (208.5, 250))
 
53
 
54
  gr.HTML("<hr>")
55
 
 
49
  gr.Markdown("### In this demo, we use a non-linear SVC (Support Vector Classifier) to learn the decision function of the XOR operator.")
50
 
51
  xor_image = Image.open("xor.png")
52
+ xor_image = xor_image.resize((round(xor_image.size[0]*0.25), round(xor_image.size[1]*0.25)))
53
+ gr.Image(xor_image, label="Table explaining the 'XOR' operator")
54
 
55
  gr.HTML("<hr>")
56