Spaces:
Runtime error
Runtime error
smeintadmin
commited on
Commit
•
aff09bf
1
Parent(s):
2463628
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,6 @@ iface = gr.Interface(
|
|
33 |
fn=predict,
|
34 |
inputs="text",
|
35 |
outputs="text",
|
36 |
-
live=True, # Enable user history functionality
|
37 |
title="Image Intent Classifier",
|
38 |
description=description_html,
|
39 |
article=instructions_html, # Use 'article' instead of 'inputs' for the instructions
|
@@ -45,8 +44,6 @@ iface = gr.Interface(
|
|
45 |
],
|
46 |
theme="huggingface", # Dark mode theme
|
47 |
allow_flagging="never", # Disable flagging option (use 'auto' if you want to enable it)
|
48 |
-
live_show_history=True, # Show user history
|
49 |
-
live_history=True, # Enable user history recording
|
50 |
history=history_display, # Function to display user history
|
51 |
)
|
52 |
|
|
|
33 |
fn=predict,
|
34 |
inputs="text",
|
35 |
outputs="text",
|
|
|
36 |
title="Image Intent Classifier",
|
37 |
description=description_html,
|
38 |
article=instructions_html, # Use 'article' instead of 'inputs' for the instructions
|
|
|
44 |
],
|
45 |
theme="huggingface", # Dark mode theme
|
46 |
allow_flagging="never", # Disable flagging option (use 'auto' if you want to enable it)
|
|
|
|
|
47 |
history=history_display, # Function to display user history
|
48 |
)
|
49 |
|