Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def process(model_id, dataset):
|
|
14 |
model.save_pretrained(model_path)
|
15 |
login(token=os.environ["HF_TOKEN"])
|
16 |
api = HfApi()
|
17 |
-
model_repo_name = "bstraehle/
|
18 |
|
19 |
#Create Repo in Hugging Face
|
20 |
print("333")
|
@@ -34,7 +34,7 @@ def process(model_id, dataset):
|
|
34 |
return "Done"
|
35 |
|
36 |
demo = gr.Interface(fn=process,
|
37 |
-
inputs=[gr.Textbox(label = "Model ID", value = "
|
38 |
gr.Textbox(label = "Dataset", value = "imdb", lines = 1)],
|
39 |
outputs=[gr.Textbox(label = "Completion")])
|
40 |
demo.launch()
|
|
|
14 |
model.save_pretrained(model_path)
|
15 |
login(token=os.environ["HF_TOKEN"])
|
16 |
api = HfApi()
|
17 |
+
model_repo_name = "bstraehle/Meta-Llama-3-8B"
|
18 |
|
19 |
#Create Repo in Hugging Face
|
20 |
print("333")
|
|
|
34 |
return "Done"
|
35 |
|
36 |
demo = gr.Interface(fn=process,
|
37 |
+
inputs=[gr.Textbox(label = "Model ID", value = "meta-llama/Meta-Llama-3-8B", lines = 1), # google/gemma-2b
|
38 |
gr.Textbox(label = "Dataset", value = "imdb", lines = 1)],
|
39 |
outputs=[gr.Textbox(label = "Completion")])
|
40 |
demo.launch()
|