Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,12 @@ import gradio as gr
|
|
| 6 |
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
# iface.launch()
|
| 8 |
|
|
|
|
|
|
|
| 9 |
inputs = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True)
|
| 10 |
output = gr.outputs.Textbox(type="text",label="Captions")
|
| 11 |
description = "NTT Data Bilbao team"
|
|
|
|
| 12 |
|
| 13 |
interface = gr.Interface(
|
| 14 |
# fn=predict,
|
|
|
|
| 6 |
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
# iface.launch()
|
| 8 |
|
| 9 |
+
st.title("Image to Text using Lora")
|
| 10 |
+
|
| 11 |
inputs = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True)
|
| 12 |
output = gr.outputs.Textbox(type="text",label="Captions")
|
| 13 |
description = "NTT Data Bilbao team"
|
| 14 |
+
title = "Image to Text using Lora"
|
| 15 |
|
| 16 |
interface = gr.Interface(
|
| 17 |
# fn=predict,
|