Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,11 +43,11 @@ textbox2 = gr.Textbox()
|
|
43 |
image_code = gr.Image(value = "https://huggingface.co/spaces/PinoCorgi/CodeExplainerPython/blob/main/code.jpg")
|
44 |
image_output = gr.Image(value = "https://huggingface.co/spaces/PinoCorgi/CodeExplainerPython/blob/main/output.jpg")
|
45 |
|
46 |
-
demo = gr.Interface(fn = generate_text, inputs = textbox1, outputs =
|
47 |
|
48 |
image_code
|
49 |
image_output
|
50 |
|
51 |
if __name__ == "__main__":
|
52 |
-
print(f"
|
53 |
demo.launch()
|
|
|
43 |
image_code = gr.Image(value = "https://huggingface.co/spaces/PinoCorgi/CodeExplainerPython/blob/main/code.jpg")
|
44 |
image_output = gr.Image(value = "https://huggingface.co/spaces/PinoCorgi/CodeExplainerPython/blob/main/output.jpg")
|
45 |
|
46 |
+
demo = gr.Interface(fn = generate_text, inputs = textbox1, outputs = textbox2])
|
47 |
|
48 |
image_code
|
49 |
image_output
|
50 |
|
51 |
if __name__ == "__main__":
|
52 |
+
print(f"The Inference will take approximately 1 min 30 Seconds. Attached are example images of input and output.")
|
53 |
demo.launch()
|