Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -291,7 +291,7 @@ def create_pod(model_name: str, username: str, n=10, wait_seconds=10):
|
|
291 |
"GITHUB_API_TOKEN": os.environ["GITHUB_TOKEN"],
|
292 |
}
|
293 |
)
|
294 |
-
print("
|
295 |
return pod
|
296 |
except Exception as e:
|
297 |
print(f"Attempt {attempt + 1} failed with error: {e}")
|
@@ -319,6 +319,7 @@ def merge_loop():
|
|
319 |
|
320 |
# Get model name
|
321 |
model_name = get_name(models, USERNAME, version=0)
|
|
|
322 |
print(model_name)
|
323 |
|
324 |
# Get model license
|
@@ -364,7 +365,7 @@ title = """
|
|
364 |
<p><em>AutoMerger selects two 7B models on top of the Open LLM Leaderboard, combine them with a merge technique, and evaluate the resulting model.</em></p>
|
365 |
</div>
|
366 |
"""
|
367 |
-
with gr.Blocks(theme=gr.themes.
|
368 |
gr.Markdown(title)
|
369 |
logs = gr.Textbox()
|
370 |
demo.load(read_logs, None, logs, every=1)
|
|
|
291 |
"GITHUB_API_TOKEN": os.environ["GITHUB_TOKEN"],
|
292 |
}
|
293 |
)
|
294 |
+
print("Evaluation started.")
|
295 |
return pod
|
296 |
except Exception as e:
|
297 |
print(f"Attempt {attempt + 1} failed with error: {e}")
|
|
|
319 |
|
320 |
# Get model name
|
321 |
model_name = get_name(models, USERNAME, version=0)
|
322 |
+
print("="*20)
|
323 |
print(model_name)
|
324 |
|
325 |
# Get model license
|
|
|
365 |
<p><em>AutoMerger selects two 7B models on top of the Open LLM Leaderboard, combine them with a merge technique, and evaluate the resulting model.</em></p>
|
366 |
</div>
|
367 |
"""
|
368 |
+
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
369 |
gr.Markdown(title)
|
370 |
logs = gr.Textbox()
|
371 |
demo.load(read_logs, None, logs, every=1)
|