Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,8 @@ app = Flask(__name__, static_url_path='/static')
|
|
| 12 |
|
| 13 |
@app.route('/')
|
| 14 |
def index():
|
|
|
|
|
|
|
| 15 |
return app.send_static_file('index.html')
|
| 16 |
|
| 17 |
def save_base64_image(base64Image):
|
|
|
|
| 12 |
|
| 13 |
@app.route('/')
|
| 14 |
def index():
|
| 15 |
+
global client
|
| 16 |
+
client = Client(base_gradio_url)
|
| 17 |
return app.send_static_file('index.html')
|
| 18 |
|
| 19 |
def save_base64_image(base64Image):
|