PinoCorgi commited on
Commit
3d408c3
1 Parent(s): fbf49f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -40,10 +40,10 @@ class Solution(object):
40
  textbox2 = gr.Textbox()
41
 
42
  if __name__ == "__main__":
 
43
  with gr.Blocks() as demo:
44
- gr.Textbox("The Inference Takes about 1 min 30 seconds")
45
  gr.Interface(fn = generate_text, inputs = textbox1, outputs = textbox2)
46
  with gr.Row():
47
- gr.Image(value = "code.jpg")
48
- gr.Image(value = "output.jpg")
49
  demo.launch()
 
40
  textbox2 = gr.Textbox()
41
 
42
  if __name__ == "__main__":
43
+ gr.Textbox("The Inference Takes about 1 min 30 seconds")
44
  with gr.Blocks() as demo:
 
45
  gr.Interface(fn = generate_text, inputs = textbox1, outputs = textbox2)
46
  with gr.Row():
47
+ gr.Image(value = "output.jpg", label = "Sample Explaination in Natural Language")
48
+ gr.Image(value = "code.jpg", label = "Sample Code for Checking if a Binary Tree is Mirrored")
49
  demo.launch()