Update
Browse files
app.py
CHANGED
@@ -216,7 +216,7 @@ def create_app():
|
|
216 |
##### Status.
|
217 |
|
218 |
status = gr.Markdown(f'Startup: {datetime.datetime.now()}')
|
219 |
-
gpu_kind = gr.Markdown(f'GPU=?')
|
220 |
# demo.load(
|
221 |
# lambda: [
|
222 |
# gradio_helpers.get_status(),
|
@@ -243,8 +243,8 @@ if __name__ == '__main__':
|
|
243 |
for k, v in os.environ.items():
|
244 |
logging.info('environ["%s"] = %r', k, v)
|
245 |
|
246 |
-
gradio_helpers.set_warmup_function(warmup)
|
247 |
-
for name, (repo, filename) in models.MODELS.items():
|
248 |
-
|
249 |
|
250 |
create_app().queue().launch()
|
|
|
216 |
##### Status.
|
217 |
|
218 |
status = gr.Markdown(f'Startup: {datetime.datetime.now()}')
|
219 |
+
# gpu_kind = gr.Markdown(f'GPU=?')
|
220 |
# demo.load(
|
221 |
# lambda: [
|
222 |
# gradio_helpers.get_status(),
|
|
|
243 |
for k, v in os.environ.items():
|
244 |
logging.info('environ["%s"] = %r', k, v)
|
245 |
|
246 |
+
# gradio_helpers.set_warmup_function(warmup)
|
247 |
+
# for name, (repo, filename) in models.MODELS.items():
|
248 |
+
# gradio_helpers.register_download(name, repo, filename)
|
249 |
|
250 |
create_app().queue().launch()
|