Spaces:
Paused
Paused
revert
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -341,8 +341,8 @@ example_prompts = [
|
|
| 341 |
|
| 342 |
# Use a state variable to store session ID
|
| 343 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 344 |
-
|
| 345 |
-
session_id = gr.BrowserState()(None) # Add this to store session ID
|
| 346 |
|
| 347 |
gr.Markdown("# 🌊 WaveSpeedAI HiDream Arena")
|
| 348 |
|
|
|
|
| 341 |
|
| 342 |
# Use a state variable to store session ID
|
| 343 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 344 |
+
session_id = gr.State(None) # Add this to store session ID
|
| 345 |
+
# session_id = gr.BrowserState()(None) # Add this to store session ID
|
| 346 |
|
| 347 |
gr.Markdown("# 🌊 WaveSpeedAI HiDream Arena")
|
| 348 |
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio
|
| 2 |
aiohttp
|
| 3 |
plotly
|
| 4 |
python-dotenv
|
|
|
|
| 1 |
+
gradio
|
| 2 |
aiohttp
|
| 3 |
plotly
|
| 4 |
python-dotenv
|