itbetyar commited on
Commit
9502b1b
·
verified ·
1 Parent(s): f9a9bb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,9 +5,9 @@
5
  ##
6
  ## Gradio MNIST - Képpel - Mintákkal
7
 
 
8
  import tensorflow as tf
9
  import numpy as np
10
- import gradio as gr
11
 
12
  model = tf.keras.models.load_model('mnist.keras') # a modell betoltese
13
 
@@ -58,7 +58,7 @@ header_html = """
58
 
59
  footer_html = """
60
  <div style="max-width: 900px; margin: 0 auto; text-align: center;">
61
- <h3 style="color: #7CE0E1; font-size: 1.8em; margin-top: 60px;">Leírás:</h3>
62
  <p style="font-size: 1.3em;">
63
  Fenti anyagunk az <a href="https://itbetyar.hu/mesterseges-intelligencia-fejleszto-tanfolyam/">A.I. Developer tanfolyamunk</a> egy minta anyaga. Az MNIST Digit Classifikáció minden A.I. és Machine learining tanfolyam alap modellje, anyaga. Egy remek kezdő projekt.
64
  </p>
@@ -79,7 +79,7 @@ with gr.Blocks(css=custom_css) as ablakom:
79
 
80
  with gr.Row():
81
  with gr.Column(scale=1):
82
- input_image = gr.Image(type="numpy", label="Upload an image...", sources=["upload"])
83
 
84
 
85
  with gr.Row():
 
5
  ##
6
  ## Gradio MNIST - Képpel - Mintákkal
7
 
8
+ import gradio as gr
9
  import tensorflow as tf
10
  import numpy as np
 
11
 
12
  model = tf.keras.models.load_model('mnist.keras') # a modell betoltese
13
 
 
58
 
59
  footer_html = """
60
  <div style="max-width: 900px; margin: 0 auto; text-align: center;">
61
+ <h3 style="color: #7CE0E1; font-size: 1.8em; margin-top: 70px;">Leírás:</h3>
62
  <p style="font-size: 1.3em;">
63
  Fenti anyagunk az <a href="https://itbetyar.hu/mesterseges-intelligencia-fejleszto-tanfolyam/">A.I. Developer tanfolyamunk</a> egy minta anyaga. Az MNIST Digit Classifikáció minden A.I. és Machine learining tanfolyam alap modellje, anyaga. Egy remek kezdő projekt.
64
  </p>
 
79
 
80
  with gr.Row():
81
  with gr.Column(scale=1):
82
+ input_image = gr.Image(type="numpy", label="Tölts fel egy képet...", height=210, width=350, sources=["upload"])
83
 
84
 
85
  with gr.Row():