Spaces:
Running
Running
update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,11 @@ enable_btn = gr.Button(interactive=True)
|
|
35 |
disable_btn = gr.Button(interactive=False)
|
36 |
|
37 |
|
|
|
|
|
|
|
|
|
|
|
38 |
def write2file(path, content):
|
39 |
lock = FileLock(f"{path}.lock")
|
40 |
with lock:
|
@@ -298,7 +303,6 @@ def add_text(state, message, system_prompt, model_selector, request: gr.Request)
|
|
298 |
) * 5
|
299 |
|
300 |
|
301 |
-
@spaces.GPU(duration=120)
|
302 |
def http_bot(
|
303 |
state,
|
304 |
model_selector,
|
|
|
35 |
disable_btn = gr.Button(interactive=False)
|
36 |
|
37 |
|
38 |
+
@spaces.GPU(duration=10)
|
39 |
+
def make_zerogpu_happy():
|
40 |
+
pass
|
41 |
+
|
42 |
+
|
43 |
def write2file(path, content):
|
44 |
lock = FileLock(f"{path}.lock")
|
45 |
with lock:
|
|
|
303 |
) * 5
|
304 |
|
305 |
|
|
|
306 |
def http_bot(
|
307 |
state,
|
308 |
model_selector,
|