Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,6 @@ import theme
|
|
5 |
import theme_chat
|
6 |
|
7 |
theme = theme.Theme()
|
8 |
-
theme_chat=theme_chat.ThemeChat()
|
9 |
|
10 |
# Cell 1: Image Classification Model
|
11 |
image_pipeline = pipeline(task="image-classification", model="guillen/vit-basura-test1")
|
@@ -30,7 +29,7 @@ def echo(message, history):
|
|
30 |
chatbot_gradio_app = gr.ChatInterface(
|
31 |
fn=echo,
|
32 |
title="Green Greta",
|
33 |
-
theme=
|
34 |
)
|
35 |
|
36 |
# Combine both interfaces into a single app
|
|
|
5 |
import theme_chat
|
6 |
|
7 |
theme = theme.Theme()
|
|
|
8 |
|
9 |
# Cell 1: Image Classification Model
|
10 |
image_pipeline = pipeline(task="image-classification", model="guillen/vit-basura-test1")
|
|
|
29 |
chatbot_gradio_app = gr.ChatInterface(
|
30 |
fn=echo,
|
31 |
title="Green Greta",
|
32 |
+
theme=theme
|
33 |
)
|
34 |
|
35 |
# Combine both interfaces into a single app
|