Spaces:
Runtime error
Runtime error
Commit
·
60d6368
1
Parent(s):
f1be909
thene
Browse files
app.py
CHANGED
|
@@ -150,6 +150,8 @@ def log_blurb_and_vote(
|
|
| 150 |
return f"Logged: {vote} by user {user_id}", True, gr.Row.update(visible=False)
|
| 151 |
|
| 152 |
|
|
|
|
|
|
|
| 153 |
# Create Gradio interface
|
| 154 |
with gr.Blocks(theme=tufte_theme) as demo:
|
| 155 |
gr.Markdown("<h1 style='text-align: center;'>Would you read this book?</h1>")
|
|
|
|
| 150 |
return f"Logged: {vote} by user {user_id}", True, gr.Row.update(visible=False)
|
| 151 |
|
| 152 |
|
| 153 |
+
tufte_theme = TufteInspired()
|
| 154 |
+
|
| 155 |
# Create Gradio interface
|
| 156 |
with gr.Blocks(theme=tufte_theme) as demo:
|
| 157 |
gr.Markdown("<h1 style='text-align: center;'>Would you read this book?</h1>")
|