Spaces:
Runtime error
Runtime error
Update app.py
Browse filesTry base theme
app.py
CHANGED
|
@@ -9,13 +9,9 @@ def launch(input):
|
|
| 9 |
return out[0]['generated_text']
|
| 10 |
|
| 11 |
import gradio as gr
|
| 12 |
-
|
| 13 |
-
theme = gr.themes.Base()
|
| 14 |
-
|
| 15 |
-
with gr.Blocks(theme=theme) as demo:
|
| 16 |
|
| 17 |
-
|
| 18 |
iface = gr.Interface(launch,
|
|
|
|
| 19 |
inputs=gr.Image(type='pil'),
|
| 20 |
outputs="text")
|
| 21 |
|
|
|
|
| 9 |
return out[0]['generated_text']
|
| 10 |
|
| 11 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
|
|
|
| 13 |
iface = gr.Interface(launch,
|
| 14 |
+
theme = gr.themes.Base(),
|
| 15 |
inputs=gr.Image(type='pil'),
|
| 16 |
outputs="text")
|
| 17 |
|