Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 = "
|
| 48 |
-
gr.Image(value = "
|
| 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()
|