sayedM commited on
Commit
a7a5e48
·
1 Parent(s): 655d368

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,14 +43,14 @@ def get_results(image):
43
  char = data['char']
44
  timeOfResponse = data['time']
45
  requestInfo = data['info']
46
- return [num, char, timeOfResponse, requestInfo]
47
 
48
  # Define the input component for Gradio
49
  image_input = gr.inputs.Image() # Adjust the shape according to your requirements
50
 
51
  # Define the output components for Gradio
52
  output_components = []
53
- for label in ["Numbers", "char", "Time of Response", "Request Info"]:
54
  output_components.append(gr.outputs.Textbox(label=label))
55
 
56
  # Launch the Gradio interface
 
43
  char = data['char']
44
  timeOfResponse = data['time']
45
  requestInfo = data['info']
46
+ return [num, char, requestInfo]
47
 
48
  # Define the input component for Gradio
49
  image_input = gr.inputs.Image() # Adjust the shape according to your requirements
50
 
51
  # Define the output components for Gradio
52
  output_components = []
53
+ for label in ["Numbers", "char", "Request Info"]:
54
  output_components.append(gr.outputs.Textbox(label=label))
55
 
56
  # Launch the Gradio interface