Spaces:
Paused
Paused
Upload 4 files
Browse files- README.md +1 -1
- app.py +1 -1
- requirements.txt +3 -2
- user_history.py +1 -1
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 👁
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: openrail
|
|
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.44.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: openrail
|
app.py
CHANGED
|
@@ -282,7 +282,7 @@ with gr.Blocks(css=css) as app_with_history:
|
|
| 282 |
with gr.Tab("Past generations"):
|
| 283 |
user_history.render()
|
| 284 |
|
| 285 |
-
app_with_history.queue(max_size=20,api_open=False
|
| 286 |
|
| 287 |
if __name__ == "__main__":
|
| 288 |
app_with_history.launch(max_threads=400)
|
|
|
|
| 282 |
with gr.Tab("Past generations"):
|
| 283 |
user_history.render()
|
| 284 |
|
| 285 |
+
app_with_history.queue(max_size=20, api_open=False)
|
| 286 |
|
| 287 |
if __name__ == "__main__":
|
| 288 |
app_with_history.launch(max_threads=400)
|
requirements.txt
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
diffusers
|
| 2 |
-
transformers
|
| 3 |
accelerate
|
| 4 |
xformers
|
| 5 |
Pillow
|
| 6 |
qrcode
|
| 7 |
filelock
|
| 8 |
-
--extra-index-url https://download.pytorch.org/whl/cu118
|
| 9 |
torch
|
|
|
|
|
|
| 1 |
diffusers
|
| 2 |
+
transformers<=4.48.3
|
| 3 |
accelerate
|
| 4 |
xformers
|
| 5 |
Pillow
|
| 6 |
qrcode
|
| 7 |
filelock
|
| 8 |
+
#--extra-index-url https://download.pytorch.org/whl/cu118
|
| 9 |
torch
|
| 10 |
+
pydantic==2.10.6
|
user_history.py
CHANGED
|
@@ -62,7 +62,7 @@ def render() -> None:
|
|
| 62 |
|
| 63 |
with gr.Row():
|
| 64 |
gr.LoginButton(min_width=250)
|
| 65 |
-
gr.LogoutButton(min_width=250)
|
| 66 |
refresh_button = gr.Button(
|
| 67 |
"Refresh",
|
| 68 |
icon="https://huggingface.co/spaces/Wauplin/gradio-user-history/resolve/main/assets/icon_refresh.png",
|
|
|
|
| 62 |
|
| 63 |
with gr.Row():
|
| 64 |
gr.LoginButton(min_width=250)
|
| 65 |
+
#gr.LogoutButton(min_width=250)
|
| 66 |
refresh_button = gr.Button(
|
| 67 |
"Refresh",
|
| 68 |
icon="https://huggingface.co/spaces/Wauplin/gradio-user-history/resolve/main/assets/icon_refresh.png",
|