Commit
•
1d4e2ce
1
Parent(s):
6af54cd
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def classify_movie_genre(description):
|
|
8 |
# Get predictions using the pipeline
|
9 |
predictions = pipe(description)
|
10 |
|
11 |
-
return predictions
|
12 |
|
13 |
# Define the Gradio interface
|
14 |
iface = gr.Interface(
|
|
|
8 |
# Get predictions using the pipeline
|
9 |
predictions = pipe(description)
|
10 |
|
11 |
+
return [predictions]
|
12 |
|
13 |
# Define the Gradio interface
|
14 |
iface = gr.Interface(
|