Kevin Fink
commited on
Commit
·
7d1a420
1
Parent(s):
10213f4
dev
Browse files
app.py
CHANGED
@@ -297,7 +297,6 @@ def run_train(dataset_name, hub_id, api_key, num_epochs, batch_size, lr, grad):
|
|
297 |
return result
|
298 |
# Create Gradio interface
|
299 |
try:
|
300 |
-
'''
|
301 |
iface = gr.Interface(
|
302 |
fn=run_train,
|
303 |
inputs=[
|
@@ -323,7 +322,7 @@ try:
|
|
323 |
title="Fine-Tune Hugging Face Model",
|
324 |
description="This interface allows you to test a fine-tune Hugging Face model."
|
325 |
)
|
326 |
-
|
327 |
# Launch the interface
|
328 |
iface.launch()
|
329 |
except Exception as e:
|
|
|
297 |
return result
|
298 |
# Create Gradio interface
|
299 |
try:
|
|
|
300 |
iface = gr.Interface(
|
301 |
fn=run_train,
|
302 |
inputs=[
|
|
|
322 |
title="Fine-Tune Hugging Face Model",
|
323 |
description="This interface allows you to test a fine-tune Hugging Face model."
|
324 |
)
|
325 |
+
'''
|
326 |
# Launch the interface
|
327 |
iface.launch()
|
328 |
except Exception as e:
|