jsr90 commited on
Commit
f119fa7
·
1 Parent(s): 212a236

Update app.py

Browse files

added english texts

Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -23,11 +23,13 @@ def toggle(choice):
23
 
24
  # Create Gradio UI blocks
25
  with gr.Blocks() as blocks:
26
- gr.Markdown("WebCam or Upload?""") # Display text in Markdown format
 
 
27
  with gr.Row(): # Create a row of UI elements
28
  with gr.Column(): # Create a column of UI elements
29
  # Create a radio button to choose between webcam and file inputs
30
- image_or_file_opt = gr.Radio(["webcam", "file"], value="webcam",
31
  label="How would you like to upload your image?")
32
  # Create an image input for the webcam
33
  image_in_video = gr.Image(source="webcam", type="filepath")
 
23
 
24
  # Create Gradio UI blocks
25
  with gr.Blocks() as blocks:
26
+ gr.Markdown("# CiclopeIA: Imaginando tu futuro") # Display text in Markdown format
27
+ gr.Markdown("## Application based on [CiclopeIA Saturdays' project](https://medium.com/saturdays-ai/ciclopeia-imaginando-tu-entorno-14dd3781a7ac)")
28
+ gr.Markdown("### Take a photo of a € bill or make it directly with the camera and the model will recognize its value")
29
  with gr.Row(): # Create a row of UI elements
30
  with gr.Column(): # Create a column of UI elements
31
  # Create a radio button to choose between webcam and file inputs
32
+ image_or_file_opt = gr.Radio(["webcam", "file"], value="file",
33
  label="How would you like to upload your image?")
34
  # Create an image input for the webcam
35
  image_in_video = gr.Image(source="webcam", type="filepath")