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 =
|
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 = "google/gemma-
|
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/gemma-2b"
|
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 = "google/gemma-2b", lines = 1),
|
38 |
gr.Textbox(label = "Dataset", value = "imdb", lines = 1)],
|
39 |
outputs=[gr.Textbox(label = "Completion")])
|
40 |
demo.launch()
|