HelloAI1 commited on
Commit
a98a7d9
·
verified ·
1 Parent(s): 37aed4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -1,8 +1,3 @@
1
- It seems like there's an issue with the code where `State` object is being used incorrectly. The error indicates that the `State` object doesn't have a `change` attribute.
2
-
3
- Let's correct this by using the appropriate method to update the state. Here's the modified code:
4
-
5
- ```python
6
  import numpy as np
7
  import gradio as gr
8
  import requests
@@ -208,4 +203,4 @@ with gr.Blocks(css=css) as demo:
208
  lines=3,
209
  value="3d, cartoon, anime, (deformed eyes, nose, ears, nose), bad anatomy, ugly"
210
  )
211
-
 
 
 
 
 
 
1
  import numpy as np
2
  import gradio as gr
3
  import requests
 
203
  lines=3,
204
  value="3d, cartoon, anime, (deformed eyes, nose, ears, nose), bad anatomy, ugly"
205
  )
206
+